Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001363/0.001363, allocations: 95.5 kB / 21.19 MB, free: 3.363 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.001592/0.001592, allocations: 156.5 kB / 24.55 MB, free: 8 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.9504/0.9504, allocations: 177 MB / 204.8 MB, free: 5.57 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.2722/0.2722, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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.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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.675e-05, allocations: 3.719 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00433/0.004367, allocations: 2.512 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.006264, allocations: 1.067 MB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.006387, allocations: 8 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.007621, allocations: 0.5211 MB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.007959, allocations: 111.1 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.00882, allocations: 470.1 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.00917, allocations: 230.9 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.009639, allocations: 214.7 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.009934, allocations: 147.7 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.0101, allocations: 91.72 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.01014, allocations: 24 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.01048, allocations: 147.7 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.01052, allocations: 55.77 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.01062, allocations: 79.83 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.01115, allocations: 299 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.01116, allocations: 7.938 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01116, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.01117, allocations: 0 / 384.7 MB, free: 12.11 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.001212/0.01238, allocations: 0.6481 MB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.01243, allocations: 12.03 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.01282, allocations: 84.69 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.01295, allocations: 136.3 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.01297, allocations: 24.88 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.01303, allocations: 24.38 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.01351, allocations: 233.7 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.01353, allocations: 4.188 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.01356, allocations: 8.375 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.01357, allocations: 15.88 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.01383, allocations: 98.92 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.01524, allocations: 0.9059 MB / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.01556, allocations: 188.9 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.01577, allocations: 91.33 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.01589, allocations: 8 kB / 387.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.01592, allocations: 41.38 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.01593, allocations: 0 / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000719/0.01665, allocations: 243.9 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.01669, allocations: 77.11 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01681, allocations: 193.9 kB / 387.7 MB, free: 8.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01683, allocations: 25.7 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.01693, allocations: 206.9 kB / 387.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.01698, allocations: 63.44 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.01706, allocations: 47.22 kB / 388 MB, free: 8.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.01721, allocations: 0.5002 MB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.01729, allocations: 31.97 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01742, allocations: 91.22 kB / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.01763, allocations: 137.7 kB / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01763, allocations: 0 / 388.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003939/0.01803, allocations: 208.6 kB / 389 MB, free: 7.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.01805, allocations: 8 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01806, allocations: 0 / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.01832, allocations: 51.34 kB / 389 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01848, allocations: 39.92 kB / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.02059, allocations: 3.528 MB / 392.6 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.0207, allocations: 19.89 kB / 392.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.02072, allocations: 8 kB / 392.6 MB, free: 3.574 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.0001236/0.02084, allocations: 168.5 kB / 392.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.02091, allocations: 23.94 kB / 392.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.02126, allocations: 173.7 kB / 393 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.02126, allocations: 7.938 kB / 393 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.02127, allocations: 0 / 393 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02127, allocations: 3.984 kB / 393 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.02208, allocations: 0.5456 MB / 393.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02209, allocations: 3.938 kB / 393.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.02221, allocations: 36.03 kB / 393.6 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.02236, allocations: 47.34 kB / 393.6 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.02237, allocations: 4 kB / 393.6 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.02433, allocations: 3.528 MB / 397.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02433, allocations: 4.062 kB / 397.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.02477, allocations: 490 kB / 397.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.02479, allocations: 11.91 kB / 397.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.0248, allocations: 11.94 kB / 397.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.02489, allocations: 15.98 kB / 397.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.02494, allocations: 19.97 kB / 397.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.02495, allocations: 4 kB / 397.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.025, allocations: 139.2 kB / 397.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.025, allocations: 0 / 397.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.02532, allocations: 79.84 kB / 397.9 MB, free: 13.91 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.0002172/0.02553, allocations: 123.1 kB / 398 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.02597, allocations: 451.2 kB / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02597, allocations: 0 / 398.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.02618, allocations: 403.2 kB / 398.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.02646, allocations: 19.92 kB / 398.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.02727, allocations: 460.6 kB / 399.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.021e-05/0.02732, allocations: 80.22 kB / 399.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.474e-05/0.02737, allocations: 13.14 kB / 399.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.0274, allocations: 20.5 kB / 399.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0274, allocations: 0 / 399.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of Templates: time 0.004808/0.03221, allocations: 2.421 MB / 401.9 MB, free: 9.824 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.137572160921991]