Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001712/0.001712, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002284/0.002284, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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.49/1.49, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 51.92 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.245, allocations: 49.16 MB / 396.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003486/0.2484, allocations: 2.741 MB / 399.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2502, allocations: 1.205 MB / 400.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2503, allocations: 7.656 kB / 400.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.2518, allocations: 0.6216 MB / 401.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.2521, allocations: 131.4 kB / 401.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2534, allocations: 0.6636 MB / 402.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.2538, allocations: 298 kB / 402.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.2542, allocations: 246.9 kB / 402.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2544, allocations: 130.6 kB / 402.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2546, allocations: 167.6 kB / 403 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.2546, allocations: 25.41 kB / 403.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.255, allocations: 178.8 kB / 403.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.2551, allocations: 61.12 kB / 403.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2552, allocations: 148.5 kB / 403.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.2558, allocations: 0.4948 MB / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2558, allocations: 0 / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2558, allocations: 5.125 kB / 403.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2558, allocations: 0 / 403.9 MB, free: 5.051 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001496/0.2573, allocations: 0.6469 MB / 404.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2573, allocations: 14.08 kB / 404.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/0.2581, allocations: 130.7 kB / 404.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.2584, allocations: 198.8 kB / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2585, allocations: 25.94 kB / 405 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.2585, allocations: 34.38 kB / 405 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.259, allocations: 336.5 kB / 405.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2591, allocations: 0 / 405.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2591, allocations: 14.94 kB / 405.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2591, allocations: 10.22 kB / 405.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.2595, allocations: 239.2 kB / 405.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.2613, allocations: 1.369 MB / 406.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.2617, allocations: 231.6 kB / 407.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2619, allocations: 89.88 kB / 407.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.262, allocations: 15.75 kB / 407.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.262, allocations: 36.56 kB / 407.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.262, allocations: 0 / 407.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001197/0.2632, allocations: 416.3 kB / 407.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.2632, allocations: 55.69 kB / 407.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2633, allocations: 177.4 kB / 407.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2634, allocations: 30.89 kB / 408 MB, free: 2.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.2634, allocations: 179.2 kB / 408.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.2635, allocations: 88.83 kB / 408.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.2636, allocations: 56.55 kB / 408.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.2636, allocations: 332 kB / 408.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2637, allocations: 67.64 kB / 408.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2639, allocations: 130.5 kB / 408.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.2641, allocations: 216 kB / 409 MB, free: 1.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2641, allocations: 1.375 kB / 409 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005147/0.2647, allocations: 329.1 kB / 409.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2647, allocations: 6.312 kB / 409.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2647, allocations: 0.8438 kB / 409.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.265, allocations: 80.95 kB / 409.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2652, allocations: 48.72 kB / 409.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.2669, allocations: 1.922 MB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.2671, allocations: 35.27 kB / 411.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2671, allocations: 8.344 kB / 411.4 MB, free: 15.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.2673, allocations: 148.2 kB / 411.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.2673, allocations: 23.88 kB / 411.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006098/0.268, allocations: 284.2 kB / 411.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.268, allocations: 6.734 kB / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.268, allocations: 1.094 kB / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.268, allocations: 6.531 kB / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2691, allocations: 0.652 MB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2691, allocations: 0 / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.2692, allocations: 23.7 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.2695, allocations: 76.67 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.2695, allocations: 6.016 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.2716, allocations: 1.917 MB / 414.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2716, allocations: 0 / 414.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.2722, allocations: 448.3 kB / 415 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.2723, allocations: 40.84 kB / 415.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.2724, allocations: 5.281 kB / 415.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2725, allocations: 5.25 kB / 415.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2725, allocations: 18.34 kB / 415.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2726, allocations: 12.77 kB / 415.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.2727, allocations: 129.2 kB / 415.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2727, allocations: 0 / 415.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000552/0.2732, allocations: 105.8 kB / 415.3 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.2735, allocations: 124 kB / 415.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.2741, allocations: 347.5 kB / 415.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2742, allocations: 3.938 kB / 415.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.2745, allocations: 236.6 kB / 416 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2748, allocations: 13.69 kB / 416 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.276, allocations: 0.5649 MB / 416.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2764, allocations: 0.7543 MB / 417.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.2765, allocations: 26.22 kB / 417.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2765, allocations: 22.12 kB / 417.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2765, allocations: 0 / 417.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Templates: time 0.007182/0.2837, allocations: 2.754 MB / 420.2 MB, free: 9.645 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.627742568962276]