Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 106 kB / 21.18 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 189 kB / 24.46 MB, free: 3.953 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.487/1.487, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 51.91 kB / 347.7 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 49.16 MB / 396.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003311/0.2552, allocations: 2.687 MB / 399.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.2562, allocations: 0.7186 MB / 400.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2563, allocations: 4.375 kB / 400.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2565, allocations: 41.17 kB / 400.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2566, allocations: 78.53 kB / 400.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2568, allocations: 108.7 kB / 400.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.2571, allocations: 358.1 kB / 400.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2573, allocations: 70.95 kB / 400.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.2575, allocations: 146.2 kB / 401 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.2577, allocations: 157 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.2577, allocations: 31.41 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.667e-05/0.2578, allocations: 30.72 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.2578, allocations: 70.08 kB / 401.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.258, allocations: 149.6 kB / 401.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.2583, allocations: 352.9 kB / 401.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2583, allocations: 0.5156 kB / 401.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2583, allocations: 1.312 kB / 401.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2583, allocations: 0 / 401.8 MB, free: 6.312 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001337/0.2597, allocations: 0.5691 MB / 402.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2597, allocations: 14.36 kB / 402.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.2598, allocations: 30.31 kB / 402.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.2601, allocations: 201.6 kB / 402.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2601, allocations: 17.84 kB / 402.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.2601, allocations: 16.81 kB / 402.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.2608, allocations: 305.8 kB / 402.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2608, allocations: 1.281 kB / 402.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.2608, allocations: 6.344 kB / 402.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2609, allocations: 4.969 kB / 402.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.2616, allocations: 269.9 kB / 403.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.2632, allocations: 1.027 MB / 404.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.2652, allocations: 431.8 kB / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.2656, allocations: 135.5 kB / 404.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.2656, allocations: 3.328 kB / 404.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2656, allocations: 36.16 kB / 404.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.2656, allocations: 3.938 kB / 404.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.004963/0.2706, allocations: 0.9535 MB / 405.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2706, allocations: 51.41 kB / 405.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.2709, allocations: 213.7 kB / 406 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2709, allocations: 31.89 kB / 406.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.271, allocations: 157.6 kB / 406.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.2711, allocations: 49.97 kB / 406.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.2712, allocations: 39.33 kB / 406.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.2712, allocations: 329.2 kB / 406.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2716, allocations: 106.2 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.272, allocations: 126 kB / 406.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.2726, allocations: 234.1 kB / 407.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2726, allocations: 0 / 407.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002834/0.2755, allocations: 0.6373 MB / 407.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2755, allocations: 6.516 kB / 407.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2755, allocations: 0 / 407.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.2763, allocations: 219.6 kB / 407.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2765, allocations: 36.86 kB / 408 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.2828, allocations: 2.641 MB / 410.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2831, allocations: 30.69 kB / 410.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2831, allocations: 13.42 kB / 410.7 MB, free: 1.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.2833, allocations: 135.2 kB / 410.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2833, allocations: 21.17 kB / 410.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.2833, allocations: 26.42 kB / 410.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2833, allocations: 1.438 kB / 410.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2833, allocations: 0 / 410.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2834, allocations: 1.438 kB / 410.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.2836, allocations: 306.5 kB / 411.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2836, allocations: 0 / 411.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2838, allocations: 31.08 kB / 411.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006046/0.2844, allocations: 219.4 kB / 411.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.2844, allocations: 5.172 kB / 411.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006278/0.2907, allocations: 2.636 MB / 414 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2907, allocations: 0 / 414 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.294, allocations: 0.8512 MB / 414.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.2941, allocations: 16.61 kB / 414.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.2941, allocations: 6 kB / 414.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2944, allocations: 37.06 kB / 414.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.2944, allocations: 8.484 kB / 414.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2945, allocations: 7.375 kB / 415 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.2946, allocations: 154.5 kB / 415.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 1.531 kB / 415.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004754/0.2951, allocations: 85.44 kB / 415.2 MB, free: 14.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.2952, allocations: 102.5 kB / 415.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2969, allocations: 445.2 kB / 415.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2969, allocations: 0 / 415.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.298, allocations: 331.8 kB / 416.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2983, allocations: 31.78 kB / 416.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2998, allocations: 0.5545 MB / 416.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3002, allocations: 0.7516 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3003, allocations: 17.58 kB / 417.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3003, allocations: 15.31 kB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3003, allocations: 0 / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01079/0.3111, allocations: 5.097 MB / 422.5 MB, free: 9.078 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.819272086024284]