Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.000997, allocations: 111.6 kB / 17.29 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000984/0.000984, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 41.39 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09451, allocations: 49.45 MB / 350.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005118/0.09967, allocations: 4.11 MB / 354.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1011, allocations: 0.8725 MB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1012, allocations: 8 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1015, allocations: 67.45 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1018, allocations: 158.8 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1021, allocations: 111.9 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.1027, allocations: 0.677 MB / 356.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.103, allocations: 199 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.1033, allocations: 263 kB / 356.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.1036, allocations: 294.7 kB / 357 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.1037, allocations: 52 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1037, allocations: 56 kB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1039, allocations: 131.5 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.1041, allocations: 302.5 kB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.1046, allocations: 498.9 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1046, allocations: 0 / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1046, allocations: 0 / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1046, allocations: 0 / 358 MB, free: 12.95 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.001375/0.106, allocations: 0.8572 MB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.106, allocations: 15.89 kB / 358.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1061, allocations: 60.28 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1066, allocations: 367.6 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.1066, allocations: 37.38 kB / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.1067, allocations: 52.28 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.1075, allocations: 487.5 kB / 359.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1075, allocations: 0 / 359.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1076, allocations: 28 kB / 359.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1076, allocations: 12 kB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.1082, allocations: 328.3 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1107, allocations: 1.697 MB / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.1111, allocations: 257.1 kB / 362.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.1114, allocations: 145.6 kB / 362.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1114, allocations: 4 kB / 362.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1114, allocations: 38.56 kB / 362.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.1114, allocations: 3.938 kB / 362.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001771/0.1132, allocations: 0.9464 MB / 363.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1133, allocations: 85.11 kB / 363.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.1137, allocations: 385.6 kB / 363.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1137, allocations: 29.7 kB / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1139, allocations: 291.4 kB / 364.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.357e-05/0.114, allocations: 118.3 kB / 364.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1141, allocations: 74.05 kB / 364.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1142, allocations: 354.7 kB / 364.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1145, allocations: 108.8 kB / 364.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1147, allocations: 194.6 kB / 364.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.1152, allocations: 311.1 kB / 365.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1152, allocations: 0 / 365.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007732/0.116, allocations: 442.5 kB / 365.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.116, allocations: 8 kB / 365.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.116, allocations: 3.938 kB / 365.6 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.1163, allocations: 81.81 kB / 365.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1167, allocations: 75.91 kB / 365.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.1191, allocations: 3.131 MB / 368.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.1194, allocations: 15.98 kB / 368.9 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.1194, allocations: 16 kB / 369 MB, free: 1.246 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.0002041/0.1196, allocations: 165.7 kB / 369.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.1197, allocations: 39.53 kB / 369.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.1198, allocations: 51.53 kB / 369.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1198, allocations: 4 kB / 369.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1198, allocations: 3.938 kB / 369.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1199, allocations: 3.984 kB / 369.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1544/0.2743, allocations: 0.9345 MB / 370.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.2743, allocations: 1.188 kB / 370.2 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.2746, allocations: 43.97 kB / 370.2 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.2749, allocations: 77.02 kB / 370.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2749, allocations: 10.53 kB / 370.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.2767, allocations: 3.139 MB / 373.4 MB, free: 22.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2767, allocations: 4.031 kB / 373.4 MB, free: 22.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.2776, allocations: 0.6053 MB / 374 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.2777, allocations: 117.8 kB / 374.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.2777, allocations: 11.23 kB / 374.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.2781, allocations: 30.3 kB / 374.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2782, allocations: 24.33 kB / 374.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.2782, allocations: 8.656 kB / 374.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.2785, allocations: 273 kB / 374.5 MB, free: 21.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2785, allocations: 10.86 kB / 374.5 MB, free: 21.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.2791, allocations: 119.4 kB / 374.6 MB, free: 21.66 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.0001164/0.2792, allocations: 105.3 kB / 374.7 MB, free: 21.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008256/0.2801, allocations: 0.525 MB / 375.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2801, allocations: 1 kB / 375.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.2806, allocations: 383.5 kB / 375.6 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.2811, allocations: 59.81 kB / 375.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2827, allocations: 1.198 MB / 376.9 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2829, allocations: 0.836 MB / 377.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.283, allocations: 33.8 kB / 377.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.283, allocations: 0 / 377.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of Templates: time 0.01123/0.2943, allocations: 8.881 MB / 386.6 MB, free: 17.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches