Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.00126/0.00126, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001457/0.001457, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1649/0.1649, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.859e-05, allocations: 6.25 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003762/0.00379, allocations: 3.411 MB / 351.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.005115, allocations: 0.8148 MB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.005341, allocations: 15.88 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.005519, allocations: 71.3 kB / 352 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.00574, allocations: 146.6 kB / 352.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.006076, allocations: 123.8 kB / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.006516, allocations: 0.5332 MB / 352.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.006801, allocations: 170.2 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.007148, allocations: 331.3 kB / 353.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.007359, allocations: 171.5 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.007431, allocations: 52 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.007492, allocations: 48 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.007567, allocations: 111.6 kB / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.007711, allocations: 179.6 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.00819, allocations: 362.6 kB / 354.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.008196, allocations: 4 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008198, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.008206, allocations: 0 / 354.2 MB, free: 2.93 MB / 282.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.0009892/0.009195, allocations: 0.7883 MB / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.009246, allocations: 11.97 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.009366, allocations: 92.61 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.009681, allocations: 256.8 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.009726, allocations: 45.31 kB / 355.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.009778, allocations: 44.38 kB / 355.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.01027, allocations: 440.5 kB / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01028, allocations: 192 / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.01031, allocations: 20.38 kB / 355.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01033, allocations: 15.94 kB / 355.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01057, allocations: 174.8 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.01215, allocations: 1.58 MB / 357.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.01248, allocations: 198.2 kB / 357.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.01265, allocations: 99.33 kB / 357.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.01268, allocations: 7.938 kB / 357.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.913e-05/0.01276, allocations: 37.39 kB / 357.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.586e-06/0.01276, allocations: 4 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.00193/0.01469, allocations: 0.9626 MB / 358.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.01473, allocations: 81.11 kB / 359 MB, free: 13.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.01492, allocations: 308.2 kB / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.01494, allocations: 29.7 kB / 359.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01508, allocations: 318.8 kB / 359.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.01514, allocations: 118.9 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.01522, allocations: 79.84 kB / 359.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01535, allocations: 0.5079 MB / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.01544, allocations: 56.95 kB / 360.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.01608, allocations: 204.5 kB / 360.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.01637, allocations: 298.2 kB / 360.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01637, allocations: 0 / 360.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004474/0.01682, allocations: 332.7 kB / 361.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.01684, allocations: 8 kB / 361.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.01685, allocations: 4.375 kB / 361.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.01707, allocations: 43.64 kB / 361.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.01732, allocations: 115.8 kB / 361.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/0.01828, allocations: 1.775 MB / 363.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01839, allocations: 16.03 kB / 363.1 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.01841, allocations: 16 kB / 363.2 MB, free: 9.273 MB / 298.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.000145/0.01856, allocations: 180.4 kB / 363.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.01862, allocations: 47.81 kB / 363.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.01866, allocations: 34.06 kB / 363.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01866, allocations: 7.984 kB / 363.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.01867, allocations: 4 kB / 363.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01868, allocations: 0 / 363.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009753/0.01965, allocations: 0.5938 MB / 364 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.01966, allocations: 0 / 364 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.01987, allocations: 87.95 kB / 364.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.624e-05/0.01997, allocations: 35.72 kB / 364.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.01999, allocations: 8 kB / 364.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/0.02075, allocations: 1.779 MB / 365.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02075, allocations: 0 / 365.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.02121, allocations: 0.567 MB / 366.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.02128, allocations: 43.72 kB / 366.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.0213, allocations: 12 kB / 366.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.02142, allocations: 23.92 kB / 366.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.02148, allocations: 27.98 kB / 366.6 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.02149, allocations: 8 kB / 366.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.0216, allocations: 205.1 kB / 366.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0216, allocations: 0 / 366.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.02192, allocations: 92 kB / 366.9 MB, free: 5.305 MB / 298.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.0001302/0.02205, allocations: 103.2 kB / 367 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.02256, allocations: 382.7 kB / 367.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02256, allocations: 0 / 367.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.02274, allocations: 279.8 kB / 367.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.02308, allocations: 40.47 kB / 367.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.02447, allocations: 0.8133 MB / 368.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.02454, allocations: 113.3 kB / 368.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.02464, allocations: 34.95 kB / 368.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.0247, allocations: 24.5 kB / 368.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.0247, allocations: 0 / 368.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of Templates: time 0.006294/0.03099, allocations: 2.989 MB / 371.7 MB, free: 484 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.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.2018746472895145]