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.001462/0.001462, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.16 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09935, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005376/0.1048, allocations: 4.121 MB / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1066, allocations: 0.9502 MB / 364 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1069, allocations: 8 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1071, allocations: 99 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1075, allocations: 178.4 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.1079, allocations: 163.7 kB / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.1085, allocations: 0.6694 MB / 365.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.1088, allocations: 203 kB / 365.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1092, allocations: 262.9 kB / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.1095, allocations: 298.6 kB / 365.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.1096, allocations: 52 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1097, allocations: 64 kB / 365.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.1098, allocations: 127.5 kB / 366.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.1101, allocations: 310.5 kB / 366.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1106, allocations: 0.6422 MB / 367 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1107, allocations: 0 / 367 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1107, allocations: 0 / 367 MB, free: 5.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1107, allocations: 0 / 367 MB, free: 5.16 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001366/0.1121, allocations: 0.865 MB / 367.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1121, allocations: 15.97 kB / 367.9 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.1124, allocations: 84.16 kB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.113, allocations: 379.6 kB / 368.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.113, allocations: 41.31 kB / 368.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.1131, allocations: 48.38 kB / 368.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.1139, allocations: 495.5 kB / 368.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1139, allocations: 0 / 368.9 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.1139, allocations: 20 kB / 368.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.114, allocations: 12 kB / 368.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.1146, allocations: 332.3 kB / 369.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.1171, allocations: 1.685 MB / 371 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.1176, allocations: 257.1 kB / 371.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1178, allocations: 141.7 kB / 371.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1178, allocations: 4.312 kB / 371.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1179, allocations: 46.5 kB / 371.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1179, allocations: 0 / 371.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.1573/0.2752, allocations: 0.9467 MB / 372.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.2753, allocations: 84.84 kB / 372.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.2757, allocations: 390.2 kB / 372.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2758, allocations: 35.7 kB / 372.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2759, allocations: 282.1 kB / 373.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.276, allocations: 120.8 kB / 373.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2761, allocations: 75.73 kB / 373.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2761, allocations: 349 kB / 373.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.2763, allocations: 106 kB / 373.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2766, allocations: 195.3 kB / 373.9 MB, free: 19.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.277, allocations: 303.1 kB / 374.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.277, allocations: 6.891 kB / 374.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007627/0.2778, allocations: 447.1 kB / 374.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2778, allocations: 8 kB / 374.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2779, allocations: 3.062 kB / 374.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.2782, allocations: 81.28 kB / 374.8 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.2785, allocations: 86.05 kB / 374.9 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.2803, allocations: 3.121 MB / 378 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2806, allocations: 25.14 kB / 378 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2806, allocations: 16.92 kB / 378 MB, free: 15.92 MB / 302.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.000159/0.2808, allocations: 163 kB / 378.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.2809, allocations: 46.88 kB / 378.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.281, allocations: 45.41 kB / 378.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.281, allocations: 3.125 kB / 378.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.281, allocations: 6.219 kB / 378.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.281, allocations: 2.844 kB / 378.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2822, allocations: 0.9337 MB / 379.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2822, allocations: 2.516 kB / 379.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2824, allocations: 55.55 kB / 379.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.2826, allocations: 81.52 kB / 379.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2827, allocations: 8.109 kB / 379.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.2843, allocations: 3.123 MB / 382.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2843, allocations: 4.062 kB / 382.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.2851, allocations: 0.6168 MB / 383.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.2852, allocations: 111.4 kB / 383.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.2853, allocations: 15.64 kB / 383.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.2856, allocations: 27.06 kB / 383.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.2857, allocations: 24.98 kB / 383.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.2857, allocations: 7.578 kB / 383.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.286, allocations: 277.8 kB / 383.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.286, allocations: 4 kB / 383.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.2865, allocations: 115.7 kB / 383.7 MB, free: 11.35 MB / 302.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.0001174/0.2867, allocations: 107.9 kB / 383.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.2874, allocations: 0.5148 MB / 384.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2875, allocations: 1.25 kB / 384.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.288, allocations: 384.8 kB / 384.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.2885, allocations: 71.98 kB / 384.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2899, allocations: 0.9476 MB / 385.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2901, allocations: 0.8367 MB / 386.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.2903, allocations: 46.39 kB / 386.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.2904, allocations: 32.64 kB / 386.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2904, allocations: 0 / 386.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Templates: time 0.008995/0.2994, allocations: 4.668 MB / 391.3 MB, free: 8.688 MB / 302.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches