Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00192/0.00192, allocations: 83.16 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002483/0.002483, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.871e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008902/0.008921, allocations: 6.947 MB / 332 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005619/0.01454, allocations: 2.621 MB / 334.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.01535, allocations: 93.09 kB / 334.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.01661, allocations: 0.5776 MB / 335.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.01846, allocations: 0.8084 MB / 336.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.01932, allocations: 427.1 kB / 336.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.02287, allocations: 3.419 MB / 339.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.02554, allocations: 1.968 MB / 341.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.02948, allocations: 2.487 MB / 344.4 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.03228, allocations: 1.843 MB / 346.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006425/0.03293, allocations: 464 kB / 346.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.03413, allocations: 0.6479 MB / 347.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.03542, allocations: 1.301 MB / 348.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.03719, allocations: 1.364 MB / 350 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006537/0.04373, allocations: 6.221 MB / 356.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.04373, allocations: 0 / 356.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.04373, allocations: 0 / 356.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.522e-05/0.0438, allocations: 0 / 356.2 MB, free: 5.785 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.007425/0.05122, allocations: 3.801 MB / 360 MB, free: 1.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.05126, allocations: 8.031 kB / 360 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.05264, allocations: 450.5 kB / 360.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.05638, allocations: 2.122 MB / 362.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.0566, allocations: 226.1 kB / 362.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.05707, allocations: 280.4 kB / 363.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007321/0.06439, allocations: 4.47 MB / 367.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.06444, allocations: 3.938 kB / 367.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.06475, allocations: 127.9 kB / 367.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.06495, allocations: 149.9 kB / 367.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006157/0.0711, allocations: 3.509 MB / 371.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.0884, allocations: 9.29 MB / 380.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.09109, allocations: 1.644 MB / 382.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.09379, allocations: 1.411 MB / 383.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.09402, allocations: 40.97 kB / 383.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.09407, allocations: 55.5 kB / 383.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 4.318e-06/0.09407, allocations: 0 / 383.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.0102/0.1043, allocations: 5.109 MB / 388.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.1043, allocations: 90.42 kB / 388.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.1071, allocations: 1.729 MB / 390.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.1072, allocations: 45.7 kB / 390.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.1083, allocations: 1.38 MB / 392.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.1088, allocations: 475.9 kB / 392.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/0.1093, allocations: 267.5 kB / 392.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1095, allocations: 301.1 kB / 393.1 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.1108, allocations: 0.8237 MB / 393.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.1125, allocations: 1.2 MB / 395.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/0.1157, allocations: 2.09 MB / 397.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.1157, allocations: 0 / 397.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004626/0.1203, allocations: 2.508 MB / 399.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1203, allocations: 10.81 kB / 399.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.1203, allocations: 12 kB / 399.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.1223, allocations: 475.1 kB / 400.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.1237, allocations: 331.5 kB / 400.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.1297, allocations: 4.202 MB / 404.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.131, allocations: 87.86 kB / 404.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.1311, allocations: 68.05 kB / 404.9 MB, free: 4.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.133, allocations: 1.048 MB / 406 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.1335, allocations: 186.8 kB / 406.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.1374, allocations: 2.124 MB / 408.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.1374, allocations: 19.98 kB / 408.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1374, allocations: 7.938 kB / 408.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.1374, allocations: 3.984 kB / 408.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/0.1459, allocations: 4.488 MB / 412.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.1459, allocations: 8 kB / 412.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.147, allocations: 227.7 kB / 413 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.1489, allocations: 452.5 kB / 413.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.219e-05/0.149, allocations: 31.98 kB / 413.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.1547, allocations: 4.116 MB / 417.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1547, allocations: 0 / 417.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.1601, allocations: 3.24 MB / 420.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009833/0.1611, allocations: 374.7 kB / 421.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.1614, allocations: 31.98 kB / 421.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.1625, allocations: 91.91 kB / 421.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.1628, allocations: 96.8 kB / 421.4 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.1629, allocations: 44.06 kB / 421.5 MB, free: 3.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002004/0.1649, allocations: 1.19 MB / 422.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1649, allocations: 0 / 422.7 MB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00177/0.1667, allocations: 0.5546 MB / 423.2 MB, free: 1.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000612/0.1673, allocations: 225.6 kB / 423.4 MB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003985/0.1713, allocations: 2.117 MB / 425.5 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1713, allocations: 0.75 kB / 425.5 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.1735, allocations: 1.159 MB / 426.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.1756, allocations: 416.1 kB / 427.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.1877, allocations: 5.751 MB / 432.9 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.1901, allocations: 1.884 MB / 434.7 MB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001528/0.1917, allocations: 461.9 kB / 435.2 MB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.1922, allocations: 132.5 kB / 435.3 MB, free: 5.363 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1922, allocations: 0 / 435.3 MB, free: 5.363 MB / 398.1 MB Notification: Performance of Templates: time 0.05125/0.2434, allocations: 27.48 MB / 462.8 MB, free: 10.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.653360906988382]