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.00253/0.00253, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002937/0.002937, allocations: 165.3 kB / 24.27 MB, free: 156 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3591/0.3591, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.713e-06/1.713e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.528e-05, allocations: 5.828 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003386/0.003422, allocations: 1.747 MB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.003631, allocations: 91.64 kB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.003684, allocations: 0 / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.003736, allocations: 11.88 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.973e-05/0.003826, allocations: 19.78 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.003937, allocations: 31.97 kB / 379.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.004117, allocations: 119.5 kB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.004277, allocations: 27.98 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.00441, allocations: 71.81 kB / 379.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.004492, allocations: 35.89 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.004524, allocations: 12 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.004548, allocations: 12 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.004584, allocations: 27.91 kB / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.004643, allocations: 31.92 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004844, allocations: 123.6 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004848, allocations: 4 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.004849, allocations: 0 / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.004855, 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.0006802/0.005536, allocations: 439.9 kB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.005577, allocations: 12.03 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.005629, allocations: 16.84 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.00579, allocations: 128.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.005805, allocations: 4.375 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.005826, allocations: 12.38 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.006109, allocations: 114.1 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006119, allocations: 192 / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.006133, allocations: 384 / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006141, allocations: 4.375 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.006414, allocations: 83.89 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.007421, allocations: 458.5 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.007642, allocations: 83.02 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.007833, allocations: 51.78 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007851, allocations: 4 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.007887, allocations: 37.39 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007888, allocations: 0 / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006749/0.008563, allocations: 161.2 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.008613, allocations: 55.41 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.008775, allocations: 177.9 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.008797, allocations: 25.7 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.00891, allocations: 162.7 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.008941, allocations: 27.78 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.008995, allocations: 23.38 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.009262, allocations: 0.4884 MB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.009368, allocations: 27.97 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.009489, allocations: 55.05 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.009705, allocations: 95.05 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009706, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003289/0.01004, allocations: 129.1 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.01006, allocations: 10.25 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01006, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/0.01026, allocations: 27.67 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.01035, allocations: 8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.01192, allocations: 1.806 MB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.01199, allocations: 8.094 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.012, allocations: 4 kB / 384.3 MB, free: 11.57 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.0001463/0.01215, allocations: 172.6 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.01218, allocations: 4 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.0122, allocations: 12.42 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0122, allocations: 0 / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01221, allocations: 4 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01221, allocations: 3.938 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.01284, allocations: 408.6 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.01285, allocations: 7.969 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.01291, allocations: 15.92 kB / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.533e-05/0.01301, allocations: 27.67 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01301, allocations: 128 / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.01447, allocations: 1.795 MB / 386.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01447, allocations: 4 kB / 386.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.01489, allocations: 279.3 kB / 387 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.0149, allocations: 11.97 kB / 387 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.01492, allocations: 4 kB / 387 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.01501, allocations: 7.938 kB / 387 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.01506, allocations: 7.984 kB / 387 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.01507, allocations: 8 kB / 387.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.01516, allocations: 135.2 kB / 387.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01516, allocations: 0 / 387.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01543, allocations: 27.89 kB / 387.2 MB, free: 8.434 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.0001277/0.01555, allocations: 99.25 kB / 387.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.01604, allocations: 245.4 kB / 387.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01604, allocations: 0 / 387.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.01642, allocations: 217.4 kB / 387.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01669, allocations: 15.98 kB / 387.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01719, allocations: 218 kB / 388 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01729, allocations: 85.3 kB / 388.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.01732, allocations: 4 kB / 388.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.01736, allocations: 12.5 kB / 388.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01736, allocations: 0 / 388.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of Templates: time 0.004681/0.02204, allocations: 1.179 MB / 389.3 MB, free: 6.273 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","/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.988215674995445]