Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001658/0.001658, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.002013/0.002013, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 225.1 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 55.88 kB / 281.3 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09241, allocations: 46.63 MB / 328 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00548/0.09794, allocations: 4.035 MB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1, allocations: 0.9121 MB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.1006, allocations: 8 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.101, allocations: 99.02 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.1017, allocations: 182.4 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.1022, allocations: 135.8 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.103, allocations: 0.6693 MB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.1034, allocations: 207 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.1038, allocations: 259 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1041, allocations: 290.6 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.1042, allocations: 56 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.1043, allocations: 56 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1044, allocations: 135.5 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.1046, allocations: 298.5 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.1052, allocations: 0.6307 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1052, allocations: 4 kB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1053, allocations: 4 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1053, allocations: 0 / 335.9 MB, free: 12.49 MB / 286.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.001392/0.1067, allocations: 0.8573 MB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1067, allocations: 15.89 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1068, allocations: 64.19 kB / 336.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.1073, allocations: 367.6 kB / 337.2 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1073, allocations: 37.38 kB / 337.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.1074, allocations: 48.38 kB / 337.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.1081, allocations: 479.5 kB / 337.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1081, allocations: 0 / 337.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.1082, allocations: 20 kB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1082, allocations: 19.97 kB / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.1088, allocations: 336.3 kB / 338.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.1114, allocations: 1.689 MB / 339.8 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.1119, allocations: 269.1 kB / 340.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1121, allocations: 138 kB / 340.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1122, allocations: 15.88 kB / 340.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1122, allocations: 46.5 kB / 340.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.1122, allocations: 0 / 340.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001835/0.1141, allocations: 0.9422 MB / 341.2 MB, free: 6.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1141, allocations: 81.11 kB / 341.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1145, allocations: 381.6 kB / 341.6 MB, free: 6.391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1146, allocations: 33.7 kB / 341.7 MB, free: 6.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1147, allocations: 287.4 kB / 342 MB, free: 6.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.1148, allocations: 118.3 kB / 342.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1149, allocations: 82.03 kB / 342.2 MB, free: 5.859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1151, allocations: 354.7 kB / 342.5 MB, free: 5.504 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1153, allocations: 96.83 kB / 342.6 MB, free: 5.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1155, allocations: 202.5 kB / 342.8 MB, free: 5.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.116, allocations: 302.1 kB / 343.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.116, allocations: 0 / 343.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007792/0.1168, allocations: 446.3 kB / 343.5 MB, free: 4.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1168, allocations: 4 kB / 343.5 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1168, allocations: 4 kB / 343.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.1172, allocations: 89.91 kB / 343.6 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.1175, allocations: 75.89 kB / 343.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.1199, allocations: 3.131 MB / 346.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1203, allocations: 16 kB / 346.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1203, allocations: 16 kB / 346.9 MB, free: 0.7812 MB / 286.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.0002238/0.1205, allocations: 165.8 kB / 347 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.1206, allocations: 43.52 kB / 347.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.1207, allocations: 47.47 kB / 347.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1207, allocations: 0 / 347.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1207, allocations: 11.88 kB / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1207, allocations: 0 / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1221, allocations: 0.9437 MB / 348.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1221, allocations: 0 / 348.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1223, allocations: 47.97 kB / 348.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.1226, allocations: 85.58 kB / 348.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1226, allocations: 8 kB / 348.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.1248, allocations: 3.135 MB / 351.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1248, allocations: 3.938 kB / 351.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.1257, allocations: 0.6091 MB / 352 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1258, allocations: 116.7 kB / 352.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.1259, allocations: 7.938 kB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.1262, allocations: 27.98 kB / 352.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.1263, allocations: 27.89 kB / 352.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1263, allocations: 16 kB / 352.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002835/0.1266, allocations: 275.2 kB / 352.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1266, allocations: 0 / 352.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.1272, allocations: 116 kB / 352.5 MB, free: 10.71 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.0001374/0.1274, allocations: 107.3 kB / 352.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.1283, allocations: 0.5168 MB / 353.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1283, allocations: 4 kB / 353.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.1289, allocations: 389.7 kB / 353.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.1295, allocations: 61.53 kB / 353.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1312, allocations: 0.9995 MB / 354.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1316, allocations: 0.8314 MB / 355.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.1317, allocations: 31.44 kB / 355.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1317, allocations: 4 kB / 355.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of Templates: time 0.01088/0.1426, allocations: 8.873 MB / 364.3 MB, free: 14.77 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches