Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002617/0.002617, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003247/0.003247, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3697/0.3697, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.904e-05, allocations: 2.312 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005725/0.005754, allocations: 3.484 MB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.007561, allocations: 0.8139 MB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.007767, allocations: 8 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.008003, allocations: 75.17 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.008336, allocations: 138.8 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.008743, allocations: 131.7 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007236/0.009467, allocations: 0.5448 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.009804, allocations: 170.3 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.01027, allocations: 319.4 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.01058, allocations: 175.5 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003642/0.01094, allocations: 48 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.01104, allocations: 52 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.01118, allocations: 111.6 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.01141, allocations: 175.6 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.01222, allocations: 0.5762 MB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01222, allocations: 0 / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01222, allocations: 0 / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01223, allocations: 0 / 382 MB, free: 14.17 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.001542/0.01377, allocations: 0.8153 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.01382, allocations: 16.02 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.014, allocations: 92.61 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.01448, allocations: 261.8 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.01453, allocations: 33.38 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.01461, allocations: 48.38 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.01555, allocations: 0.5154 MB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01557, allocations: 4.188 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.01562, allocations: 20.38 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.01564, allocations: 15.94 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.01639, allocations: 304.4 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.01955, allocations: 1.724 MB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.02014, allocations: 246 kB / 386.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.02047, allocations: 123.3 kB / 386.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.0205, allocations: 8 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.02055, allocations: 37.39 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.02055, allocations: 0 / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003101/0.02365, allocations: 1.134 MB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.02373, allocations: 81.11 kB / 387.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.02423, allocations: 356.1 kB / 387.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.02427, allocations: 33.7 kB / 387.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.02501, allocations: 318.8 kB / 388.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.02516, allocations: 130.9 kB / 388.3 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.02537, allocations: 91.81 kB / 388.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004476/0.02581, allocations: 0.5235 MB / 388.9 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.02611, allocations: 101 kB / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.02652, allocations: 244.6 kB / 389.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.02721, allocations: 390.4 kB / 389.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.02721, allocations: 4 kB / 389.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009054/0.02812, allocations: 426.9 kB / 390.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.02814, allocations: 4 kB / 390.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.02815, allocations: 4 kB / 390.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.02839, allocations: 48.03 kB / 390.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.02885, allocations: 111.9 kB / 390.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.03058, allocations: 1.846 MB / 392.1 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.03082, allocations: 19.97 kB / 392.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.03085, allocations: 20 kB / 392.1 MB, free: 3.461 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.000279/0.03113, allocations: 204.5 kB / 392.3 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.03123, allocations: 39.81 kB / 392.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.806e-05/0.03131, allocations: 42.05 kB / 392.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.03132, allocations: 4 kB / 392.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.03132, allocations: 0 / 392.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.03133, allocations: 3.984 kB / 392.4 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.03258, allocations: 0.7063 MB / 393.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.03259, allocations: 3.938 kB / 393.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.03301, allocations: 91.88 kB / 393.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.03313, allocations: 31.67 kB / 393.2 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.03316, allocations: 8 kB / 393.2 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.03477, allocations: 1.826 MB / 395.1 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03477, allocations: 0 / 395.1 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.03614, allocations: 0.6958 MB / 395.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.03626, allocations: 47.72 kB / 395.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.0363, allocations: 8 kB / 395.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.03656, allocations: 28.02 kB / 395.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.03666, allocations: 19.95 kB / 395.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.03668, allocations: 12 kB / 395.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.03694, allocations: 233.1 kB / 396.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03694, allocations: 0 / 396.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.03743, allocations: 92 kB / 396.2 MB, free: 15.16 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 0.0001607/0.03759, allocations: 99.19 kB / 396.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009822/0.03857, allocations: 478 kB / 396.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.03858, allocations: 0 / 396.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.03905, allocations: 313.4 kB / 397.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.03952, allocations: 47.52 kB / 397.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.04133, allocations: 0.8374 MB / 397.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.04159, allocations: 215.7 kB / 398.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.04173, allocations: 34.95 kB / 398.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.04182, allocations: 24.5 kB / 398.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04182, allocations: 0 / 398.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of Templates: time 0.008612/0.05043, allocations: 2.972 MB / 401.2 MB, free: 10.09 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.222240220056847]