Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.89 kB / 358.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3897, allocations: 50.53 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005363/0.3952, allocations: 4.106 MB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3972, allocations: 0.9541 MB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.3975, allocations: 15.94 kB / 414.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.3978, allocations: 91.08 kB / 414.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.3982, allocations: 186.4 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.3987, allocations: 159.7 kB / 414.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.3993, allocations: 0.6771 MB / 415.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.3997, allocations: 214.9 kB / 415.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.4, allocations: 267 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.4003, allocations: 286.6 kB / 416.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/0.4004, allocations: 56 kB / 416.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4006, allocations: 60 kB / 416.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.4007, allocations: 127.5 kB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.401, allocations: 310.4 kB / 416.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006725/0.4016, allocations: 0.6511 MB / 417.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4017, allocations: 0 / 417.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4017, allocations: 0 / 417.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4017, allocations: 0 / 417.4 MB, free: 9.422 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001413/0.4031, allocations: 0.8689 MB / 418.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4032, allocations: 12.03 kB / 418.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.4035, allocations: 76.27 kB / 418.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.404, allocations: 387.5 kB / 418.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.404, allocations: 37.38 kB / 418.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.4041, allocations: 48.38 kB / 418.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.4049, allocations: 483.5 kB / 419.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4049, allocations: 0 / 419.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.405, allocations: 20 kB / 419.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.405, allocations: 12 kB / 419.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.4056, allocations: 340.2 kB / 419.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.4082, allocations: 1.681 MB / 421.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.4086, allocations: 265.1 kB / 421.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.4089, allocations: 137.6 kB / 421.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.4089, allocations: 8 kB / 421.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.409, allocations: 34.55 kB / 421.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.409, allocations: 4 kB / 421.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001855/0.4108, allocations: 0.9459 MB / 422.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.4109, allocations: 85.09 kB / 422.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.4113, allocations: 389.6 kB / 423.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4114, allocations: 33.7 kB / 423.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.4116, allocations: 295.4 kB / 423.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.4117, allocations: 110.3 kB / 423.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4118, allocations: 74.12 kB / 423.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.412, allocations: 354.7 kB / 424 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.4122, allocations: 100.8 kB / 424.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.4125, allocations: 190.6 kB / 424.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.413, allocations: 319.6 kB / 424.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.413, allocations: 8 kB / 424.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008003/0.4138, allocations: 438.5 kB / 425.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4139, allocations: 7.938 kB / 425.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4139, allocations: 7.984 kB / 425.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.4143, allocations: 85.8 kB / 425.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4146, allocations: 79.89 kB / 425.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.4173, allocations: 3.127 MB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.4175, allocations: 8 kB / 428.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.4176, allocations: 16 kB / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.4178, allocations: 185.6 kB / 428.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.4179, allocations: 39.53 kB / 428.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.418, allocations: 47.47 kB / 428.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.418, allocations: 0 / 428.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.418, allocations: 7.938 kB / 428.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.418, allocations: 7.922 kB / 428.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.4193, allocations: 0.9351 MB / 429.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4193, allocations: 0 / 429.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4195, allocations: 47.91 kB / 429.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.4198, allocations: 81.64 kB / 429.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.4198, allocations: 7.984 kB / 429.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.4224, allocations: 3.123 MB / 432.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4224, allocations: 4.031 kB / 432.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.4232, allocations: 0.6173 MB / 433.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.4234, allocations: 120.6 kB / 433.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.4234, allocations: 7.938 kB / 433.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4237, allocations: 35.97 kB / 433.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.4238, allocations: 23.97 kB / 433.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4238, allocations: 8 kB / 433.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.4242, allocations: 275.2 kB / 433.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.4242, allocations: 0 / 433.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006691/0.4248, allocations: 123.9 kB / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.425, allocations: 103.2 kB / 434.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009252/0.426, allocations: 0.5141 MB / 434.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.426, allocations: 4 kB / 434.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.4267, allocations: 381.2 kB / 435.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.4272, allocations: 60.31 kB / 435.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4291, allocations: 0.9472 MB / 436.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.4296, allocations: 0.8392 MB / 436.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.4298, allocations: 51.22 kB / 437 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.4299, allocations: 27.44 kB / 437 MB, free: 4.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4299, allocations: 4 kB / 437 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Templates: time 0.01047/0.4404, allocations: 4.759 MB / 441.7 MB, free: 15.88 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches