Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 216.9 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 64.12 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2659, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004036/0.2699, allocations: 2.746 MB / 432.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2712, allocations: 0.7245 MB / 433.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2714, allocations: 8 kB / 433.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.2715, allocations: 43.58 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.2716, allocations: 75.27 kB / 433.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2719, allocations: 111.8 kB / 433.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.2723, allocations: 354.6 kB / 433.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2725, allocations: 68.7 kB / 433.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.2727, allocations: 147.5 kB / 434.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.273, allocations: 167.3 kB / 434.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.273, allocations: 28 kB / 434.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.2731, allocations: 40 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.2731, allocations: 63.8 kB / 434.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.2733, allocations: 147.3 kB / 434.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.2737, allocations: 355.9 kB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2737, allocations: 0 / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2737, allocations: 0 / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2737, allocations: 0 / 434.8 MB, free: 2.465 MB / 334.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.001529/0.2753, allocations: 0.6468 MB / 435.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2753, allocations: 12.03 kB / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2755, allocations: 40.73 kB / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.2758, allocations: 260.9 kB / 435.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2758, allocations: 20.75 kB / 435.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.2759, allocations: 28.33 kB / 435.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.2766, allocations: 290.9 kB / 436.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2766, allocations: 4 kB / 436.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2766, allocations: 12 kB / 436.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2766, allocations: 4 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/0.2775, allocations: 273.5 kB / 436.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2792, allocations: 1.058 MB / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.2813, allocations: 434.2 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2817, allocations: 140.7 kB / 438 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2817, allocations: 0 / 438 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.2818, allocations: 38.56 kB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.2818, allocations: 0 / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005378/0.2871, allocations: 1.026 MB / 439.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2872, allocations: 55.41 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2874, allocations: 225 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.2875, allocations: 29.69 kB / 439.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2876, allocations: 164.2 kB / 439.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.2876, allocations: 47.59 kB / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.2877, allocations: 37.69 kB / 439.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2879, allocations: 326.8 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.2882, allocations: 107.9 kB / 440.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.2886, allocations: 121.6 kB / 440.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.2893, allocations: 244.1 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2893, allocations: 0 / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003064/0.2924, allocations: 0.6268 MB / 441.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2924, allocations: 11.98 kB / 441.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2924, allocations: 0 / 441.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.2931, allocations: 220.7 kB / 441.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2933, allocations: 31.92 kB / 441.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/0.3006, allocations: 2.739 MB / 444.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.301, allocations: 43.91 kB / 444.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.301, allocations: 7.984 kB / 444.1 MB, free: 8.766 MB / 350.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.0001991/0.3012, allocations: 133.8 kB / 444.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.3012, allocations: 15.91 kB / 444.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3013, allocations: 25.83 kB / 444.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3013, allocations: 4 kB / 444.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3013, allocations: 0 / 444.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3013, allocations: 0 / 444.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.3018, allocations: 341.2 kB / 444.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3018, allocations: 0 / 444.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3019, allocations: 31.92 kB / 444.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/0.3026, allocations: 212.8 kB / 444.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3026, allocations: 19.91 kB / 444.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.3096, allocations: 2.739 MB / 447.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3096, allocations: 4.031 kB / 447.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.3129, allocations: 0.8428 MB / 448.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.313, allocations: 104.9 kB / 448.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.313, allocations: 4 kB / 448.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.3133, allocations: 27.97 kB / 448.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3134, allocations: 16.05 kB / 448.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3134, allocations: 4 kB / 448.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3136, allocations: 164.5 kB / 448.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3136, allocations: 0 / 448.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000455/0.314, allocations: 79.89 kB / 448.8 MB, free: 3.781 MB / 350.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.0001388/0.3142, allocations: 106.8 kB / 449 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3158, allocations: 442.3 kB / 449.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3158, allocations: 0 / 449.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.3169, allocations: 330.5 kB / 449.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3173, allocations: 28.59 kB / 449.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3188, allocations: 0.5841 MB / 450.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3192, allocations: 0.7476 MB / 451.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.3193, allocations: 17.53 kB / 451.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.3193, allocations: 15.44 kB / 451.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3193, allocations: 0 / 451.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of Templates: time 0.009515/0.3288, allocations: 5.053 MB / 456.2 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.7402856471017]