Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001427/0.001427, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001573/0.001573, allocations: 165.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.619/1.619, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.4175/0.4175, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.667e-05, allocations: 2.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005554/0.00558, allocations: 3.253 MB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.007449, allocations: 0.8022 MB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.007817, allocations: 8 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.008119, allocations: 79.17 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.008647, allocations: 138.8 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.00921, allocations: 131.6 kB / 379.7 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.01018, allocations: 0.5486 MB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.01059, allocations: 162.4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.01115, allocations: 315.4 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.01144, allocations: 175.5 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.01152, allocations: 48 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-05/0.0116, allocations: 52 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.01172, allocations: 111.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.01194, allocations: 171.6 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.01266, allocations: 0.5723 MB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01266, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01266, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.01267, allocations: 0 / 381.8 MB, free: 14.43 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001451/0.01412, allocations: 0.6922 MB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.01417, allocations: 12.03 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.01434, allocations: 92.61 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.01486, allocations: 263 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.01491, allocations: 37.38 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.015, allocations: 48.38 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.01622, allocations: 0.4954 MB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.01623, allocations: 4.188 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.01628, allocations: 24.36 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.0163, allocations: 15.94 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.01709, allocations: 324.4 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.01974, allocations: 1.478 MB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.02037, allocations: 229 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.02073, allocations: 125.7 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.02075, allocations: 8 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.02079, allocations: 34.81 kB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.02079, allocations: 0 / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003243/0.02403, allocations: 1.123 MB / 386.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.0241, allocations: 81.11 kB / 386.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.02444, allocations: 269.6 kB / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.02448, allocations: 29.7 kB / 387.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.02469, allocations: 264.1 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.02481, allocations: 130.9 kB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.02495, allocations: 74.16 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.02516, allocations: 342.8 kB / 387.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.02547, allocations: 104.9 kB / 388 MB, free: 7.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.02587, allocations: 213 kB / 388.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.02659, allocations: 338.6 kB / 388.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.02659, allocations: 8 kB / 388.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009859/0.02758, allocations: 440.7 kB / 389 MB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.0276, allocations: 8.031 kB / 389 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.02761, allocations: 4 kB / 389 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.02779, allocations: 28.84 kB / 389 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.02832, allocations: 123.9 kB / 389.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.0298, allocations: 1.331 MB / 390.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.03006, allocations: 15.94 kB / 390.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.0301, allocations: 19.98 kB / 390.5 MB, free: 5.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0002156/0.03031, allocations: 157.8 kB / 390.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.03041, allocations: 43.81 kB / 390.7 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.03049, allocations: 42.05 kB / 390.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.0305, allocations: 4 kB / 390.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.0305, allocations: 4.062 kB / 390.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.03051, allocations: 0 / 390.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.03166, allocations: 0.5824 MB / 391.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03166, allocations: 0 / 391.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.03212, allocations: 91.88 kB / 391.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.03225, allocations: 36.89 kB / 391.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.03227, allocations: 8 kB / 391.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.03353, allocations: 1.296 MB / 392.8 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.03354, allocations: 7.922 kB / 392.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.03471, allocations: 0.6092 MB / 393.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.03484, allocations: 51.77 kB / 393.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.03488, allocations: 8 kB / 393.5 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.03516, allocations: 19.98 kB / 393.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.03523, allocations: 23.95 kB / 393.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.03526, allocations: 12 kB / 393.5 MB, free: 1.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.03546, allocations: 177.2 kB / 393.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03546, allocations: 8 kB / 393.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000507/0.03597, allocations: 92 kB / 393.8 MB, free: 1.695 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0001431/0.03611, allocations: 107.2 kB / 393.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.03703, allocations: 398.5 kB / 394.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.03704, allocations: 4 kB / 394.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.03747, allocations: 238.5 kB / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.03798, allocations: 46.19 kB / 394.6 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.03963, allocations: 0.835 MB / 395.4 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.03989, allocations: 211.8 kB / 395.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.04004, allocations: 34.95 kB / 395.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.04013, allocations: 32.48 kB / 395.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04013, allocations: 0 / 395.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of Templates: time 0.008156/0.04829, allocations: 2.947 MB / 398.6 MB, free: 12.83 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 5.202858253964223]