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.001035/0.001035, allocations: 83.58 kB / 21.19 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.001015/0.001015, 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 0.9559/0.9559, allocations: 177.1 MB / 205 MB, free: 5.621 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.2886/0.2886, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.663e-06/1.663e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.83e-05, allocations: 6.25 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002457/0.002485, allocations: 1.777 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.002643, allocations: 95.64 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.002683, allocations: 4 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.002732, allocations: 7.875 kB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.002792, allocations: 23.78 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.396e-05/0.002886, allocations: 31.95 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002997, allocations: 115.5 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003126, allocations: 31.89 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.003206, allocations: 67.88 kB / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.003267, allocations: 35.89 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.003292, allocations: 12 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.003305, allocations: 16 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.003328, allocations: 23.91 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.003363, allocations: 31.98 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003483, allocations: 83.66 kB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003485, allocations: 3.938 kB / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003486, allocations: 0 / 380.4 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003491, allocations: 0 / 380.4 MB, free: 324 kB / 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.0004092/0.0039, allocations: 440.2 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.003933, allocations: 8.031 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.003974, allocations: 16.89 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.004055, allocations: 128.4 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.004067, allocations: 8.375 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.00408, allocations: 8.375 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.004244, allocations: 109.8 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004252, allocations: 192 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004263, allocations: 4.375 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.00427, allocations: 384 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.004331, allocations: 39.91 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.004801, allocations: 426.6 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.004894, allocations: 62.97 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.004977, allocations: 31.8 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.004986, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.005006, allocations: 37.39 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.005007, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002853/0.005292, allocations: 105.2 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.005317, allocations: 55.41 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.005407, allocations: 177.9 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.005417, allocations: 25.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.005472, allocations: 158.7 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.005486, allocations: 23.8 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.005514, allocations: 23.38 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.005616, allocations: 0.4884 MB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.005634, allocations: 4 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.00567, allocations: 35.05 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.005725, allocations: 55 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005727, allocations: 0 / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.00583, allocations: 89.5 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005842, allocations: 8 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005846, allocations: 3.938 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.005974, allocations: 27.67 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.006031, allocations: 20 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000719/0.00675, allocations: 1.756 MB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.006784, allocations: 15.94 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006788, allocations: 0 / 384.7 MB, free: 11.59 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 6.63e-05/0.006854, allocations: 156.6 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.006871, allocations: 11.95 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.006882, allocations: 12.42 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.006883, allocations: 4.031 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.006886, allocations: 4 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.00689, allocations: 3.938 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.007134, allocations: 340.8 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.007137, allocations: 7.938 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.007165, allocations: 19.92 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-05/0.007218, allocations: 19.67 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007224, allocations: 0 / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/0.007844, allocations: 1.757 MB / 387 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.007847, allocations: 7.969 kB / 387 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.008004, allocations: 243.1 kB / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.008008, allocations: 0 / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-06/0.008014, allocations: 4 kB / 387.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.008055, allocations: 15.92 kB / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.008091, allocations: 7.984 kB / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.008093, allocations: 0 / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.008128, allocations: 135.2 kB / 387.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008128, allocations: 4.031 kB / 387.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.00829, allocations: 31.89 kB / 387.5 MB, free: 8.609 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 6.608e-05/0.008356, allocations: 91.25 kB / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.008565, allocations: 209.4 kB / 387.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008566, allocations: 0 / 387.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.008641, allocations: 193.5 kB / 387.9 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.008819, allocations: 16.17 kB / 388 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.009166, allocations: 217.8 kB / 388.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.009201, allocations: 63.34 kB / 388.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.009219, allocations: 3.984 kB / 388.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.009243, allocations: 12.5 kB / 388.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009244, allocations: 7.938 kB / 388.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of Templates: time 0.002674/0.01192, allocations: 1.241 MB / 389.5 MB, free: 6.473 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",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.1104965400882065]