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.00128/0.00128, allocations: 92.31 kB / 16.31 MB, free: 6.457 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.001697/0.001697, allocations: 181.3 kB / 17.21 MB, free: 6.328 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.385/1.385, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002748, allocations: 6.484 kB / 300.8 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.0894, allocations: 50.42 MB / 351.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005077/0.09451, allocations: 4.785 MB / 356 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.09739, allocations: 1.648 MB / 357.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.09789, allocations: 16 kB / 357.7 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.09852, allocations: 206.9 kB / 357.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1001, allocations: 0.599 MB / 358.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.1007, allocations: 234.7 kB / 358.7 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1018, allocations: 0.7392 MB / 359.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.1044, allocations: 1.487 MB / 360.9 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.1047, allocations: 282.9 kB / 361.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.1052, allocations: 406.4 kB / 361.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.1053, allocations: 44 kB / 361.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.1058, allocations: 187.8 kB / 361.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1059, allocations: 139.4 kB / 362 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1061, allocations: 161.3 kB / 362.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.107, allocations: 0.8919 MB / 363 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.107, allocations: 0 / 363 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.107, allocations: 0 / 363 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.107, allocations: 0 / 363 MB, free: 15.84 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002883/0.1099, allocations: 1.202 MB / 364.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.11, allocations: 8.031 kB / 364.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/0.1145, allocations: 0.6546 MB / 364.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.115, allocations: 408.8 kB / 365.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.1151, allocations: 74 kB / 365.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1152, allocations: 96 kB / 365.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.1169, allocations: 0.9898 MB / 366.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.117, allocations: 0 / 366.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.117, allocations: 40 kB / 366.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1171, allocations: 24 kB / 366.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1186, allocations: 0.9253 MB / 367.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.1229, allocations: 3.382 MB / 370.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.1253, allocations: 2.247 MB / 373.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.1258, allocations: 288.5 kB / 373.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1259, allocations: 109.6 kB / 373.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1259, allocations: 39.06 kB / 373.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.104e-06/0.1259, allocations: 4 kB / 373.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001399/0.1273, allocations: 0.7212 MB / 374.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1274, allocations: 123.3 kB / 374.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1277, allocations: 266.5 kB / 374.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1277, allocations: 33.7 kB / 374.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.1279, allocations: 374.7 kB / 375 MB, free: 3.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.1281, allocations: 228.8 kB / 375.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1281, allocations: 16 kB / 375.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1283, allocations: 346.8 kB / 375.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.1287, allocations: 225.9 kB / 375.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.1292, allocations: 447.3 kB / 376.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.1297, allocations: 286.1 kB / 376.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.1297, allocations: 0 / 376.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001271/0.131, allocations: 0.7524 MB / 377.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.131, allocations: 11.95 kB / 377.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1311, allocations: 8 kB / 377.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.1311, allocations: 12 kB / 377.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.1317, allocations: 196 kB / 377.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.1318, allocations: 15.92 kB / 377.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.1321, allocations: 83.12 kB / 377.6 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.1322, allocations: 39.98 kB / 377.6 MB, free: 424 kB / 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.0002616/0.1324, allocations: 213.6 kB / 377.8 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.1326, allocations: 35.62 kB / 377.9 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.1337, allocations: 0.6634 MB / 378.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1338, allocations: 8 kB / 378.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1338, allocations: 0 / 378.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.1338, allocations: 3.984 kB / 378.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.136, allocations: 1.49 MB / 380 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.136, allocations: 3.938 kB / 380 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.1366, allocations: 143.8 kB / 380.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.1366, allocations: 4 kB / 380.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.1366, allocations: 12 kB / 380.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1367, allocations: 4 kB / 380.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1367, allocations: 0 / 380.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.1381, allocations: 1.138 MB / 381.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.1382, allocations: 120.5 kB / 381.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.1383, allocations: 16 kB / 381.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.1386, allocations: 23.98 kB / 381.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.1387, allocations: 44.5 kB / 381.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1387, allocations: 16 kB / 381.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1389, allocations: 190 kB / 381.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1389, allocations: 3.938 kB / 381.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007169/0.1396, allocations: 231.1 kB / 382 MB, free: 11.96 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.0002271/0.1399, allocations: 143.1 kB / 382.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.1408, allocations: 0.6174 MB / 382.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1409, allocations: 0 / 382.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.1413, allocations: 304.5 kB / 383 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.1419, allocations: 47.06 kB / 383.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.144, allocations: 1.596 MB / 384.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.1445, allocations: 0.9009 MB / 385.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.1449, allocations: 76.39 kB / 385.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1451, allocations: 51.36 kB / 385.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1451, allocations: 0 / 385.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of Templates: time 0.008415/0.1535, allocations: 4.31 MB / 390 MB, free: 3.863 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches