Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001545/0.001545, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001603/0.001603, allocations: 161.7 kB / 24.27 MB, free: 172 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.511/1.511, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.333/0.333, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.026e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003777/0.003807, allocations: 1.708 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.004043, allocations: 91.64 kB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.004102, allocations: 0 / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.004176, allocations: 15.86 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.004255, allocations: 15.8 kB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.004365, allocations: 31.95 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004541, allocations: 119.5 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.00468, allocations: 31.97 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004801, allocations: 71.81 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.004874, allocations: 35.89 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.004903, allocations: 12 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.00492, allocations: 8 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.00495, allocations: 19.92 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.005015, allocations: 43.89 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.005207, allocations: 119.6 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005209, allocations: 0 / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00521, allocations: 8 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.005216, allocations: 0 / 379.6 MB, free: 0.6328 MB / 346.7 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.0006661/0.005882, allocations: 337.9 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.005918, allocations: 8.031 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.005986, allocations: 20.84 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.006131, allocations: 121.6 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006147, allocations: 4.375 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.006169, allocations: 12.38 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.006544, allocations: 132.9 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.006554, allocations: 192 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.006569, allocations: 384 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006577, allocations: 4.375 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.00696, allocations: 107.8 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.007826, allocations: 391.3 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.00811, allocations: 78.53 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.008352, allocations: 52.94 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.008368, allocations: 4 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.008406, allocations: 38.56 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.008408, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008741/0.009282, allocations: 194.2 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.009331, allocations: 55.41 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.009461, allocations: 113.8 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.009484, allocations: 25.7 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.009578, allocations: 115.9 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.009605, allocations: 23.78 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.009655, allocations: 21.72 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.009838, allocations: 314.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.01002, allocations: 39.91 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.0102, allocations: 66.47 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.01051, allocations: 94.5 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01052, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004542/0.01097, allocations: 150.6 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01099, allocations: 8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01099, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.01116, allocations: 28.83 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01129, allocations: 19.98 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.01266, allocations: 1.28 MB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01276, allocations: 19.97 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01277, allocations: 4 kB / 383.4 MB, free: 12.49 MB / 362.7 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.0001268/0.0129, allocations: 113.8 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.01293, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.01295, allocations: 12.44 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01296, allocations: 0 / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.01296, allocations: 3.938 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01297, allocations: 8.047 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.01369, allocations: 363.7 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01369, allocations: 3.938 kB / 383.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.01379, allocations: 19.97 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-05/0.01389, allocations: 24.98 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01391, allocations: 8.016 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.01512, allocations: 1.281 MB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01512, allocations: 0 / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.01588, allocations: 237.1 kB / 385.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.01589, allocations: 12.02 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.0159, allocations: 3.938 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01603, allocations: 19.97 kB / 385.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.01608, allocations: 7.984 kB / 385.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.01608, allocations: 0 / 385.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.72e-05/0.01615, allocations: 87.28 kB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01615, allocations: 0 / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.01643, allocations: 31.89 kB / 385.6 MB, free: 10.08 MB / 362.7 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.0001316/0.01656, allocations: 99.23 kB / 385.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.01714, allocations: 206.4 kB / 385.9 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01714, allocations: 3.938 kB / 385.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.01742, allocations: 154.6 kB / 386.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.01774, allocations: 14.38 kB / 386.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.01825, allocations: 213.3 kB / 386.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01836, allocations: 85.31 kB / 386.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.01839, allocations: 4 kB / 386.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.01843, allocations: 12.5 kB / 386.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01843, allocations: 0 / 386.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of Templates: time 0.00457/0.023, allocations: 1.185 MB / 387.6 MB, free: 8.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.81007318792399]