Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0009033/0.0009033, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009119/0.0009119, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9029/0.9029, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.3081/0.3081, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.913e-05, allocations: 8.922 kB / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003399/0.003418, allocations: 3.523 MB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004762, allocations: 0.8216 MB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.004959, allocations: 8 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.005135, allocations: 75.23 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.00535, allocations: 134.7 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.005662, allocations: 139.7 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.006065, allocations: 0.5333 MB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.006315, allocations: 166.3 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.006592, allocations: 327.3 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.006759, allocations: 167.5 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.006811, allocations: 52 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-05/0.006859, allocations: 48 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.006922, allocations: 115.6 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.007038, allocations: 175.6 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.007355, allocations: 366.6 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007357, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007358, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.007364, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007957/0.00816, allocations: 0.796 MB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.008198, allocations: 8.031 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.008296, allocations: 92.61 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.008595, allocations: 265.8 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.00863, allocations: 37.38 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.008686, allocations: 44.38 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.009195, allocations: 440.5 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.009205, allocations: 4.188 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.009234, allocations: 20.36 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.009248, allocations: 15.94 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.009502, allocations: 182.8 kB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.01093, allocations: 1.572 MB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.01118, allocations: 190 kB / 389 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.01132, allocations: 95.27 kB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01134, allocations: 4.25 kB / 389.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.01136, allocations: 45.39 kB / 389.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.01137, allocations: 0 / 389.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001451/0.01282, allocations: 0.9829 MB / 390.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.01286, allocations: 81.11 kB / 390.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.01308, allocations: 296.2 kB / 390.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.0131, allocations: 37.7 kB / 390.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.01324, allocations: 310.8 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.01331, allocations: 126.9 kB / 391 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.01341, allocations: 83.84 kB / 391 MB, free: 5.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01354, allocations: 0.504 MB / 391.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.01365, allocations: 60.89 kB / 391.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.01384, allocations: 203.6 kB / 391.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.01416, allocations: 291.2 kB / 392.1 MB, free: 4.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01416, allocations: 4 kB / 392.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004632/0.01462, allocations: 336.9 kB / 392.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01464, allocations: 7.938 kB / 392.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.01465, allocations: 4 kB / 392.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.0148, allocations: 35.59 kB / 392.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.01511, allocations: 120.2 kB / 392.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008963/0.01601, allocations: 1.775 MB / 394.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.01615, allocations: 16 kB / 394.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.01617, allocations: 16 kB / 394.4 MB, free: 1.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0001219/0.01629, allocations: 192.4 kB / 394.6 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.01636, allocations: 39.81 kB / 394.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.01641, allocations: 38.06 kB / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01641, allocations: 7.984 kB / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01641, allocations: 0 / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01642, allocations: 0 / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.01711, allocations: 0.5899 MB / 395.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01711, allocations: 0 / 395.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.01737, allocations: 88.02 kB / 395.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.098e-05/0.01745, allocations: 35.59 kB / 395.4 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01747, allocations: 8 kB / 395.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007748/0.01825, allocations: 1.764 MB / 397.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01825, allocations: 0 / 397.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.01875, allocations: 0.5709 MB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.01883, allocations: 51.72 kB / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01886, allocations: 8 kB / 397.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.01903, allocations: 15.98 kB / 397.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.01908, allocations: 23.95 kB / 397.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.0191, allocations: 16 kB / 397.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01923, allocations: 205.1 kB / 398 MB, free: 13.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01923, allocations: 0 / 398 MB, free: 13.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.01962, allocations: 96 kB / 398.1 MB, free: 13.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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 9.579e-05/0.01972, allocations: 103.2 kB / 398.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.02019, allocations: 386.1 kB / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02019, allocations: 0 / 398.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.02039, allocations: 272.6 kB / 398.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.0208, allocations: 41.25 kB / 398.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.02207, allocations: 0.8215 MB / 399.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.02216, allocations: 105.3 kB / 399.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.02227, allocations: 34.95 kB / 399.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.02233, allocations: 28.48 kB / 399.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02233, allocations: 0 / 399.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of Templates: time 0.00597/0.0283, allocations: 2.979 MB / 402.9 MB, free: 8.984 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.123949110042304]