Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001606/0.001607, allocations: 120.9 kB / 19.13 MB, free: 3.949 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.001816/0.001816, allocations: 210.6 kB / 22.08 MB, free: 0.9961 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.481/1.481, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 84.12 kB / 490.8 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.139, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003096/0.1421, allocations: 1.724 MB / 0.542 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.1423, allocations: 87.66 kB / 0.5421 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.1424, allocations: 4 kB / 0.5421 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.502e-05/0.1424, allocations: 11.86 kB / 0.5421 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.1425, allocations: 27.77 kB / 0.5421 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.1426, allocations: 27.97 kB / 0.5421 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1428, allocations: 103.6 kB / 0.5422 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.143, allocations: 58.89 kB / 0.5423 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1431, allocations: 39.86 kB / 0.5423 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.1432, allocations: 51.77 kB / 0.5424 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1432, allocations: 12 kB / 0.5424 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.1432, allocations: 12 kB / 0.5424 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.1433, allocations: 23.91 kB / 0.5424 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.1434, allocations: 51.8 kB / 0.5425 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1435, allocations: 115.5 kB / 0.5426 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1435, allocations: 0 / 0.5426 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1436, allocations: 0 / 0.5426 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1436, allocations: 0 / 0.5426 GB, free: 1.926 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006935/0.1443, allocations: 423.1 kB / 0.543 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1443, allocations: 15.91 kB / 0.543 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1444, allocations: 12.89 kB / 0.543 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1445, allocations: 188.2 kB / 0.5432 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1446, allocations: 8.375 kB / 0.5432 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1446, allocations: 8.375 kB / 0.5432 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.145, allocations: 130.1 kB / 0.5433 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.145, allocations: 192 / 0.5433 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.145, allocations: 7.938 kB / 0.5434 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.145, allocations: 0 / 0.5434 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.1454, allocations: 111.8 kB / 0.5435 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.1462, allocations: 471.5 kB / 0.5439 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1465, allocations: 82.53 kB / 0.544 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1468, allocations: 72.86 kB / 0.5441 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1468, allocations: 0 / 0.5441 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1469, allocations: 34.56 kB / 0.5441 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1469, allocations: 0 / 0.5441 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.00114/0.148, allocations: 271.3 kB / 0.5443 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1481, allocations: 51.41 kB / 0.5444 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1482, allocations: 121.8 kB / 0.5445 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1483, allocations: 25.7 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.1484, allocations: 112.1 kB / 0.5446 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1484, allocations: 23.86 kB / 0.5447 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1485, allocations: 17.72 kB / 0.5447 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1487, allocations: 318.8 kB / 0.545 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1489, allocations: 35.97 kB / 0.545 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1491, allocations: 58.53 kB / 0.5451 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.1496, allocations: 102.4 kB / 0.5452 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1496, allocations: 7.938 kB / 0.5452 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000598/0.1502, allocations: 146.4 kB / 0.5453 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1502, allocations: 4 kB / 0.5453 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1503, allocations: 0 / 0.5453 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.1505, allocations: 20.84 kB / 0.5453 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1506, allocations: 23.97 kB / 0.5454 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.1526, allocations: 1.412 MB / 0.5468 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1528, allocations: 20.08 kB / 0.5468 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1528, allocations: 4 kB / 0.5468 GB, free: 13.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.1529, allocations: 120.4 kB / 0.5469 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.153, allocations: 11.89 kB / 0.5469 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.153, allocations: 16.25 kB / 0.5469 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.153, allocations: 0 / 0.5469 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1531, allocations: 0 / 0.5469 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1531, allocations: 7.984 kB / 0.5469 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.154, allocations: 420.1 kB / 0.5473 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1541, allocations: 4 kB / 0.5473 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1542, allocations: 15.98 kB / 0.5473 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.1543, allocations: 20.84 kB / 0.5474 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.1543, allocations: 8.031 kB / 0.5474 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.1559, allocations: 1.402 MB / 0.5487 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1559, allocations: 4.062 kB / 0.5487 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.1567, allocations: 241 kB / 0.549 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1568, allocations: 81.06 kB / 0.5491 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1568, allocations: 8 kB / 0.5491 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.157, allocations: 16.09 kB / 0.5491 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.157, allocations: 4 kB / 0.5491 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1571, allocations: 8 kB / 0.5491 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.626e-05/0.1572, allocations: 95.27 kB / 0.5492 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1572, allocations: 0 / 0.5492 GB, free: 10.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.1576, allocations: 27.89 kB / 0.5492 GB, free: 10.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.1578, allocations: 99.23 kB / 0.5493 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.1586, allocations: 206.5 kB / 0.5495 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1586, allocations: 0 / 0.5495 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.159, allocations: 166.8 kB / 0.5497 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.1594, allocations: 13.95 kB / 0.5497 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.1601, allocations: 238.6 kB / 0.5499 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1606, allocations: 0.7002 MB / 0.5506 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.1607, allocations: 11.44 kB / 0.5506 GB, free: 8.961 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1607, allocations: 0 / 0.5506 GB, free: 8.961 MB / 414.1 MB Notification: Performance of Templates: time 0.005432/0.1661, allocations: 1.594 MB / 0.5521 GB, free: 7.363 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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: 7.743532967986539]