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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009799/0.00098, allocations: 94.84 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 204.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 8.281 kB / 308.4 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09571, allocations: 51.53 MB / 359.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002621/0.09836, allocations: 2.396 MB / 362.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.09961, allocations: 0.6935 MB / 363 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.09974, allocations: 7.938 kB / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.09987, allocations: 39.69 kB / 363 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1, allocations: 67.47 kB / 363.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1003, allocations: 99.81 kB / 363.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.1006, allocations: 338.6 kB / 363.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1008, allocations: 85.12 kB / 363.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.101, allocations: 123.5 kB / 363.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1012, allocations: 147.3 kB / 363.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.1013, allocations: 16 kB / 363.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.1013, allocations: 20 kB / 363.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.1014, allocations: 51.81 kB / 364 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1015, allocations: 161 kB / 364.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1018, allocations: 239.6 kB / 364.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1018, allocations: 0 / 364.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1018, allocations: 0 / 364.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1018, allocations: 0 / 364.4 MB, free: 8.848 MB / 302.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.001322/0.1031, allocations: 0.6237 MB / 365 MB, free: 8.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1032, allocations: 11.97 kB / 365 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.1034, allocations: 44.55 kB / 365 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1036, allocations: 264.7 kB / 365.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1037, allocations: 12.81 kB / 365.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.1037, allocations: 20.38 kB / 365.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.1044, allocations: 310.9 kB / 365.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1044, allocations: 0 / 365.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1044, allocations: 11.94 kB / 365.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1045, allocations: 4 kB / 365.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.1052, allocations: 289.6 kB / 365.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1069, allocations: 1.073 MB / 367 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.1088, allocations: 486.3 kB / 367.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.1092, allocations: 156.8 kB / 367.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1092, allocations: 4 kB / 367.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1092, allocations: 34.5 kB / 367.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1092, allocations: 4 kB / 367.7 MB, free: 5.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.004921/0.1142, allocations: 1.128 MB / 368.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1142, allocations: 51.41 kB / 368.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1145, allocations: 217 kB / 369.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1145, allocations: 33.64 kB / 369.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1146, allocations: 164 kB / 369.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.1147, allocations: 51.3 kB / 369.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1147, allocations: 17.72 kB / 369.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1149, allocations: 334.8 kB / 369.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.1152, allocations: 107.9 kB / 369.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1156, allocations: 141.5 kB / 369.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.1162, allocations: 248.4 kB / 370.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1162, allocations: 0 / 370.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002892/0.1191, allocations: 0.6969 MB / 370.8 MB, free: 2.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1192, allocations: 4 kB / 370.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1192, allocations: 0 / 370.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/0.1199, allocations: 236.7 kB / 371.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1201, allocations: 39.91 kB / 371.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1721/0.2922, allocations: 2.602 MB / 373.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2926, allocations: 40.03 kB / 373.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.2926, allocations: 7.703 kB / 373.8 MB, free: 18.88 MB / 302.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.0001623/0.2928, allocations: 133.3 kB / 373.9 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.2929, allocations: 23.88 kB / 373.9 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.2929, allocations: 24.75 kB / 373.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.293, allocations: 2.156 kB / 373.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.293, allocations: 1.203 kB / 373.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.293, allocations: 0.7031 kB / 373.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.2935, allocations: 318.2 kB / 374.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2935, allocations: 0.5312 kB / 374.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2937, allocations: 42.05 kB / 374.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007564/0.2944, allocations: 240 kB / 374.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2945, allocations: 5.328 kB / 374.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006719/0.3012, allocations: 2.6 MB / 377.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3012, allocations: 0 / 377.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.3047, allocations: 0.9081 MB / 378 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.3048, allocations: 99.14 kB / 378.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3049, allocations: 8.406 kB / 378.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.3052, allocations: 36.62 kB / 378.2 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.3053, allocations: 15.45 kB / 378.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3053, allocations: 6.312 kB / 378.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3054, allocations: 166.1 kB / 378.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3055, allocations: 0 / 378.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000501/0.306, allocations: 81.33 kB / 378.4 MB, free: 16.84 MB / 302.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.0001351/0.3061, allocations: 100.8 kB / 378.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3077, allocations: 480.9 kB / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3077, allocations: 0 / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3088, allocations: 353.2 kB / 379.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3092, allocations: 36.5 kB / 379.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3105, allocations: 0.7249 MB / 380.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.3108, allocations: 0.7481 MB / 380.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.3108, allocations: 16.33 kB / 380.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3108, allocations: 0 / 380.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Templates: time 0.008975/0.3198, allocations: 4.078 MB / 385 MB, free: 14.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches