Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001927, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 60.47 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08283, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006375/0.08924, allocations: 5.617 MB / 364.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.09198, allocations: 1.857 MB / 366.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.09222, allocations: 19.94 kB / 366.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.09536, allocations: 1.629 MB / 368 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.09647, allocations: 0.5976 MB / 368.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.09715, allocations: 398.9 kB / 369 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.09789, allocations: 0.8056 MB / 369.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.099, allocations: 0.8755 MB / 370.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.09935, allocations: 350.7 kB / 371 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.09983, allocations: 494.2 kB / 371.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.09994, allocations: 80 kB / 371.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.1003, allocations: 243.8 kB / 371.8 MB, free: 372 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1005, allocations: 191.3 kB / 372 MB, free: 180 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1342/0.2347, allocations: 418.8 kB / 372.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.236, allocations: 1.171 MB / 373.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.236, allocations: 1.719 kB / 373.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.236, allocations: 0 / 373.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.236, allocations: 3.031 kB / 373.6 MB, free: 11.38 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00293/0.239, allocations: 1.355 MB / 375 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.239, allocations: 8.906 kB / 375 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004523/0.2436, allocations: 0.6492 MB / 375.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.2441, allocations: 419.1 kB / 376 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.2442, allocations: 74.91 kB / 376.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.2443, allocations: 98.03 kB / 376.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2458, allocations: 0.9841 MB / 377.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.2459, allocations: 8.078 kB / 377.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.246, allocations: 42.81 kB / 377.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.246, allocations: 23.03 kB / 377.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.2474, allocations: 0.9225 MB / 378.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.2514, allocations: 3.418 MB / 381.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.2531, allocations: 2.24 MB / 383.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.2536, allocations: 289.8 kB / 384.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.2537, allocations: 176.9 kB / 384.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2537, allocations: 46.33 kB / 384.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.2537, allocations: 0 / 384.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001235/0.255, allocations: 0.7194 MB / 385.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.255, allocations: 112.5 kB / 385.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.2553, allocations: 275.3 kB / 385.4 MB, free: 5.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2553, allocations: 37.8 kB / 385.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2554, allocations: 376.2 kB / 385.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2555, allocations: 225.5 kB / 386.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.2557, allocations: 136.1 kB / 386.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.2558, allocations: 350.9 kB / 386.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.2562, allocations: 222.3 kB / 386.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.2566, allocations: 436.8 kB / 387.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.2575, allocations: 0.6921 MB / 387.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2575, allocations: 2.125 kB / 387.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001101/0.2586, allocations: 0.7477 MB / 388.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2586, allocations: 11.62 kB / 388.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2586, allocations: 10.41 kB / 388.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2587, allocations: 11.53 kB / 388.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.2593, allocations: 192.4 kB / 388.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2594, allocations: 17.03 kB / 388.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.2598, allocations: 76.69 kB / 388.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.2598, allocations: 31.86 kB / 389 MB, free: 3.293 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.26, allocations: 236.9 kB / 389.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2602, allocations: 39.36 kB / 389.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.2613, allocations: 0.6478 MB / 389.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2613, allocations: 7.719 kB / 389.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2613, allocations: 0 / 389.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2613, allocations: 8.094 kB / 389.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.2633, allocations: 1.477 MB / 391.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2633, allocations: 1.031 kB / 391.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.2639, allocations: 139.7 kB / 391.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.2639, allocations: 2.594 kB / 391.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.264, allocations: 17.16 kB / 391.5 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.264, allocations: 5.188 kB / 391.5 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.264, allocations: 8.656 kB / 391.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2653, allocations: 1.109 MB / 392.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.2654, allocations: 126.1 kB / 392.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.2655, allocations: 11.25 kB / 392.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2659, allocations: 23.39 kB / 392.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.266, allocations: 50.14 kB / 392.9 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.266, allocations: 21.28 kB / 392.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.2661, allocations: 184 kB / 393.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.2662, allocations: 0 / 393.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007222/0.2669, allocations: 232.2 kB / 393.3 MB, free: 1.016 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002305/0.2671, allocations: 154.2 kB / 393.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.2681, allocations: 0.6051 MB / 394 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2681, allocations: 0 / 394 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.2685, allocations: 306.6 kB / 394.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.269, allocations: 40.98 kB / 394.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2707, allocations: 1.235 MB / 395.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.2713, allocations: 0.9105 MB / 396.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.2716, allocations: 77.8 kB / 396.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2717, allocations: 50.64 kB / 396.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2717, allocations: 0 / 396.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of Templates: time 0.008834/0.2806, allocations: 4.732 MB / 401.4 MB, free: 13.16 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches