Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001013/0.001013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001109/0.001109, allocations: 161 kB / 24.56 MB, free: 16 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2924/0.2924, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.554e-05, allocations: 6.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003354/0.00339, allocations: 2.502 MB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.005422, allocations: 1.074 MB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.005566, allocations: 8 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.006667, allocations: 0.5172 MB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.007027, allocations: 115.1 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.007736, allocations: 466.1 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.008072, allocations: 238.8 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.008451, allocations: 210.7 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.008667, allocations: 151.7 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.00879, allocations: 87.78 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.008824, allocations: 31.98 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.00914, allocations: 151.7 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.009178, allocations: 47.83 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.009254, allocations: 71.84 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.009705, allocations: 310.9 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.009709, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.009711, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.009719, allocations: 0 / 384 MB, free: 12.69 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009252/0.01064, allocations: 0.652 MB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.01068, allocations: 8.031 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.01095, allocations: 88.69 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.01106, allocations: 140.2 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.01108, allocations: 16.88 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.01113, allocations: 24.38 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.01146, allocations: 241.7 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01148, allocations: 192 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.0115, allocations: 8.375 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.01151, allocations: 7.938 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.01167, allocations: 106.9 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01274, allocations: 0.8943 MB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.01299, allocations: 178.1 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.01315, allocations: 91.33 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.01327, allocations: 19.98 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.0133, allocations: 45.39 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.0133, allocations: 0 / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005705/0.01387, allocations: 230.7 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.01392, allocations: 85.05 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.01402, allocations: 189.9 kB / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.01404, allocations: 29.83 kB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.01412, allocations: 195 kB / 387.2 MB, free: 9.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.01416, allocations: 75.47 kB / 387.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.01422, allocations: 51.16 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01436, allocations: 0.5 MB / 387.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.01441, allocations: 27.98 kB / 387.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.0145, allocations: 93.78 kB / 387.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01464, allocations: 144.5 kB / 388.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01464, allocations: 0 / 388.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002496/0.01489, allocations: 200.6 kB / 388.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01491, allocations: 8 kB / 388.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01491, allocations: 0 / 388.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.0151, allocations: 55.53 kB / 388.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01521, allocations: 47.91 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.01691, allocations: 3.511 MB / 391.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.01699, allocations: 23.88 kB / 391.9 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.017, allocations: 8 kB / 391.9 MB, free: 4.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.0171, allocations: 168.6 kB / 392.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.01715, allocations: 15.95 kB / 392.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.01741, allocations: 191.8 kB / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01741, allocations: 4 kB / 392.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01742, allocations: 0 / 392.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01742, allocations: 7.938 kB / 392.3 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.01798, allocations: 0.539 MB / 392.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01798, allocations: 0 / 392.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.01806, allocations: 31.97 kB / 392.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.01817, allocations: 51.34 kB / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.01818, allocations: 0 / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.01975, allocations: 3.535 MB / 396.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01975, allocations: 0 / 396.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.02011, allocations: 496.9 kB / 396.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.02013, allocations: 11.91 kB / 396.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.02014, allocations: 11.94 kB / 396.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.02022, allocations: 8 kB / 397 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.02029, allocations: 28.05 kB / 397 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.0203, allocations: 4 kB / 397 MB, free: 14.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.02035, allocations: 139.2 kB / 397.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02035, allocations: 0 / 397.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.02068, allocations: 71.83 kB / 397.2 MB, free: 14.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002161/0.0209, allocations: 131.2 kB / 397.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.02133, allocations: 453.4 kB / 397.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02133, allocations: 0 / 397.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02152, allocations: 405.8 kB / 398.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.02179, allocations: 20.53 kB / 398.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.0227, allocations: 461 kB / 398.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.02276, allocations: 84.2 kB / 398.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.02281, allocations: 13.14 kB / 398.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.02284, allocations: 20.5 kB / 398.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02285, allocations: 0 / 398.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Templates: time 0.005384/0.02823, allocations: 2.407 MB / 401.2 MB, free: 10.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.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.4190000277012587]