Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001632/0.001632, 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.001894/0.001894, 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.548/1.548, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.3681/0.3681, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.493e-05, allocations: 2.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003065/0.00309, allocations: 1.708 MB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.00328, allocations: 87.7 kB / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.003329, allocations: 0 / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.003386, allocations: 19.8 kB / 377.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.003462, allocations: 19.78 kB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.683e-05/0.003559, allocations: 23.97 kB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.003734, allocations: 115.6 kB / 377.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.003893, allocations: 39.95 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004003, allocations: 59.89 kB / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.00408, allocations: 39.88 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.004107, allocations: 12 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.004127, allocations: 12 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.004156, allocations: 19.92 kB / 377.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.004216, allocations: 39.91 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004394, allocations: 119.6 kB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004396, allocations: 0 / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004397, allocations: 0 / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.0044, allocations: 4 kB / 377.5 MB, free: 2.676 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.0006532/0.005054, allocations: 337.9 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005089, allocations: 12.03 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.005149, allocations: 24.83 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.005278, allocations: 117.6 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.005304, allocations: 8.375 kB / 378 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.005324, allocations: 12.38 kB / 378 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.005674, allocations: 128.8 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.005683, allocations: 192 / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.005702, allocations: 8.375 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005706, allocations: 384 / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.006097, allocations: 115.8 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.006865, allocations: 383.4 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.007133, allocations: 78.47 kB / 378.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.007381, allocations: 64.92 kB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.007399, allocations: 3.938 kB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.007435, allocations: 34.56 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.007436, allocations: 4 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008452/0.008282, allocations: 190.3 kB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.008331, allocations: 59.34 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.008451, allocations: 113.8 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.008474, allocations: 25.7 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.00856, allocations: 111.9 kB / 379.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.008585, allocations: 19.8 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.008639, allocations: 21.7 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.008817, allocations: 314.8 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.008983, allocations: 39.95 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.009155, allocations: 58.53 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.009469, allocations: 94.45 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009471, allocations: 0 / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004659/0.009937, allocations: 150.4 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.00995, allocations: 7.938 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.009954, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.01012, allocations: 24.84 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01025, allocations: 23.92 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.01155, allocations: 1.28 MB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.01166, allocations: 23.91 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.01166, allocations: 0 / 381.4 MB, free: 14.53 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.0001194/0.01178, allocations: 121.8 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.01181, allocations: 8 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.01183, allocations: 8.438 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.01183, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01184, allocations: 3.938 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.01184, allocations: 4.062 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.01255, allocations: 367.6 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01256, allocations: 0 / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.01265, allocations: 15.98 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.852e-05/0.01274, allocations: 24.84 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01275, allocations: 7.969 kB / 381.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.01395, allocations: 1.281 MB / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01395, allocations: 3.984 kB / 383.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.01446, allocations: 237.1 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.01447, allocations: 8.016 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.01449, allocations: 7.938 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01461, allocations: 12.11 kB / 383.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.01466, allocations: 15.98 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.01467, allocations: 0 / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.954e-05/0.01474, allocations: 95.2 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01474, allocations: 4 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.01501, allocations: 23.89 kB / 383.6 MB, free: 12.11 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.0001311/0.01514, allocations: 99.25 kB / 383.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.01569, allocations: 206.4 kB / 383.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01569, allocations: 0 / 383.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.01597, allocations: 154.6 kB / 384.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.01629, allocations: 12.19 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.01676, allocations: 213.3 kB / 384.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.01686, allocations: 89.3 kB / 384.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.0169, allocations: 4 kB / 384.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01694, allocations: 12.5 kB / 384.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01694, allocations: 0 / 384.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.00422/0.02116, allocations: 1.179 MB / 385.6 MB, free: 10.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.983129182015546]