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.001384/0.001384, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001986/0.001986, allocations: 165 kB / 24.56 MB, free: 12 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 0.9773/0.9773, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.288/0.288, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] 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.903e-06/1.903e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.8e-05, allocations: 10.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004372/0.0044, allocations: 3.519 MB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.006204, allocations: 0.8255 MB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.006464, allocations: 8 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.006684, allocations: 71.23 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.006964, allocations: 138.7 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.007416, allocations: 139.7 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.007927, allocations: 0.5333 MB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.008213, allocations: 166.3 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.008575, allocations: 323.3 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.008781, allocations: 175.5 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.008843, allocations: 48 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.008893, allocations: 52 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.00897, allocations: 111.6 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.009099, allocations: 179.6 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.009511, allocations: 366.6 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.009515, allocations: 3.938 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.009516, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.009523, allocations: 0 / 382.6 MB, free: 14 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.0009748/0.0105, allocations: 0.7843 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.01055, allocations: 12.03 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.01091, allocations: 92.61 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.01128, allocations: 256.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.01133, allocations: 37.38 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.01139, allocations: 52.38 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.01196, allocations: 432.5 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01198, allocations: 192 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01201, allocations: 20.38 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.01203, allocations: 15.94 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.01229, allocations: 178.7 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.01391, allocations: 1.58 MB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.01422, allocations: 186 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.01437, allocations: 111.4 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01439, allocations: 4.25 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.01443, allocations: 41.39 kB / 386.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.01443, allocations: 0 / 386.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001656/0.01609, allocations: 0.969 MB / 387.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.01614, allocations: 85.09 kB / 387.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.01637, allocations: 300.2 kB / 387.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01639, allocations: 29.7 kB / 387.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01654, allocations: 310.8 kB / 388.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.01662, allocations: 130.8 kB / 388.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.01671, allocations: 79.84 kB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.01686, allocations: 0.5079 MB / 388.8 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.01695, allocations: 60.91 kB / 388.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01711, allocations: 200.6 kB / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.01739, allocations: 296.8 kB / 389.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01739, allocations: 0 / 389.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003931/0.01779, allocations: 332.7 kB / 389.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.0178, allocations: 8 kB / 389.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01781, allocations: 4 kB / 389.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.01798, allocations: 47.95 kB / 389.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.01823, allocations: 119.9 kB / 389.8 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.01944, allocations: 1.771 MB / 391.6 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01956, allocations: 12 kB / 391.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01957, allocations: 20.03 kB / 391.6 MB, free: 4.348 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.0001248/0.0197, allocations: 184.4 kB / 391.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.01975, allocations: 39.81 kB / 391.9 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.0198, allocations: 42.05 kB / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.0198, allocations: 4 kB / 391.9 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.01981, allocations: 4 kB / 391.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.01981, allocations: 3.984 kB / 391.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.02047, allocations: 0.586 MB / 392.5 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.02047, allocations: 7.984 kB / 392.5 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.02069, allocations: 83.95 kB / 392.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/0.02077, allocations: 31.73 kB / 392.6 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.02079, allocations: 11.98 kB / 392.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008141/0.02161, allocations: 1.764 MB / 394.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02161, allocations: 0 / 394.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.02212, allocations: 0.5744 MB / 395 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.02219, allocations: 51.72 kB / 395 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.02221, allocations: 4 kB / 395 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.02233, allocations: 23.98 kB / 395 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.02241, allocations: 19.95 kB / 395.1 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.02242, allocations: 16.03 kB / 395.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.02255, allocations: 205.1 kB / 395.3 MB, free: 500 kB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02255, allocations: 0 / 395.3 MB, free: 500 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.02286, allocations: 96 kB / 395.4 MB, free: 404 kB / 362.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.0001388/0.023, allocations: 103.2 kB / 395.5 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.02356, allocations: 383 kB / 395.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.02356, allocations: 4.062 kB / 395.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.02376, allocations: 273.4 kB / 396.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.02412, allocations: 49.2 kB / 396.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.02556, allocations: 0.81 MB / 397 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.02565, allocations: 109.3 kB / 397.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.02575, allocations: 34.95 kB / 397.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.02582, allocations: 32.5 kB / 397.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.02582, allocations: 0 / 397.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Templates: time 0.006506/0.03233, allocations: 3.086 MB / 400.2 MB, free: 11.46 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","",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.5291905379854143]