Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008807, allocations: 93.14 kB / 16.3 MB, free: 5.996 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.0009338/0.0009339, allocations: 184 kB / 17.2 MB, free: 5.914 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.334/1.334, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002291/0.0002292, allocations: 6.594 kB / 300.7 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08024/0.08048, allocations: 50.43 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004541/0.08506, allocations: 4.508 MB / 355.7 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.08746, allocations: 1.668 MB / 357.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.08771, allocations: 16 kB / 357.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.08814, allocations: 198.8 kB / 357.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.08942, allocations: 0.6461 MB / 358.2 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.08993, allocations: 235.6 kB / 358.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.09065, allocations: 0.55 MB / 359 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.09314, allocations: 1.44 MB / 360.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.09352, allocations: 286.9 kB / 360.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.09403, allocations: 386.5 kB / 361.1 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.09413, allocations: 36 kB / 361.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.09453, allocations: 175.8 kB / 361.3 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.09464, allocations: 139.4 kB / 361.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.0948, allocations: 161.3 kB / 361.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.09565, allocations: 0.8842 MB / 362.4 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.09566, allocations: 0 / 362.4 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09567, allocations: 0 / 362.4 MB, free: 328 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.0957, allocations: 0 / 362.4 MB, free: 328 kB / 286.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.00302/0.09874, allocations: 1.202 MB / 363.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.09878, allocations: 12.03 kB / 363.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.1033, allocations: 0.6508 MB / 364.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.104, allocations: 409.9 kB / 364.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.104, allocations: 78 kB / 364.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.1042, allocations: 92 kB / 364.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.1058, allocations: 0.9779 MB / 365.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1058, allocations: 3.906 kB / 365.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.1059, allocations: 43.98 kB / 365.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1059, allocations: 24 kB / 365.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1074, allocations: 0.9253 MB / 366.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.1118, allocations: 3.382 MB / 370.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.114, allocations: 2.239 MB / 372.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.1141, allocations: 101.6 kB / 372.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1142, allocations: 47.12 kB / 372.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.144e-06/0.1142, allocations: 0 / 372.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001316/0.1155, allocations: 0.7252 MB / 373.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1155, allocations: 111.3 kB / 373.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1158, allocations: 270.5 kB / 373.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1159, allocations: 37.7 kB / 373.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1161, allocations: 370.7 kB / 374.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1162, allocations: 228.7 kB / 374.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1163, allocations: 16 kB / 374.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1164, allocations: 350.8 kB / 374.7 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.1168, allocations: 221.9 kB / 374.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.1173, allocations: 439.2 kB / 375.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.1178, allocations: 286.1 kB / 375.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1178, allocations: 4 kB / 375.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00116/0.1189, allocations: 0.7564 MB / 376.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.119, allocations: 7.953 kB / 376.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.119, allocations: 8 kB / 376.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.119, allocations: 12 kB / 376.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.1197, allocations: 191.7 kB / 376.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.1197, allocations: 16.12 kB / 376.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.1201, allocations: 87.11 kB / 376.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.1202, allocations: 36 kB / 376.7 MB, free: 1.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.1204, allocations: 217.6 kB / 376.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.1205, allocations: 39.53 kB / 377 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1216, allocations: 0.6556 MB / 377.6 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1216, allocations: 8 kB / 377.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1217, allocations: 0 / 377.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.1217, allocations: 7.984 kB / 377.6 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.1238, allocations: 1.483 MB / 379.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1238, allocations: 4 kB / 379.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.1244, allocations: 143.8 kB / 379.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.1244, allocations: 4 kB / 379.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.1245, allocations: 16 kB / 379.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1245, allocations: 4 kB / 379.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1245, allocations: 0 / 379.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.126, allocations: 1.153 MB / 380.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.1261, allocations: 128.4 kB / 380.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.1261, allocations: 23.94 kB / 380.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.1265, allocations: 27.94 kB / 380.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.1266, allocations: 44.44 kB / 380.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.1266, allocations: 20 kB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1268, allocations: 186 kB / 380.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1268, allocations: 0 / 380.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006777/0.1275, allocations: 227.1 kB / 381.1 MB, free: 12.72 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002283/0.1277, allocations: 147.1 kB / 381.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.1287, allocations: 0.6096 MB / 381.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1287, allocations: 0 / 381.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.1292, allocations: 312.5 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1295, allocations: 31.55 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1315, allocations: 1.585 MB / 383.8 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.132, allocations: 0.9204 MB / 384.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.1324, allocations: 76.39 kB / 384.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1325, allocations: 47.44 kB / 384.8 MB, free: 8.934 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1325, allocations: 0 / 384.8 MB, free: 8.934 MB / 318.1 MB Notification: Performance of Templates: time 0.008438/0.1409, allocations: 4.297 MB / 389.1 MB, free: 4.645 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches