Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001064, allocations: 178.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009823/0.0009824, allocations: 94.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2235, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00233/0.2259, allocations: 2.26 MB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.227, allocations: 0.6778 MB / 377.5 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2271, allocations: 3.531 kB / 377.5 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2272, allocations: 36.53 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2274, allocations: 63.91 kB / 377.6 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2276, allocations: 69.39 kB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.2279, allocations: 324.3 kB / 378 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2281, allocations: 70.58 kB / 378 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2283, allocations: 113.7 kB / 378.2 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2285, allocations: 141.8 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2285, allocations: 16.28 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.2286, allocations: 15.72 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.2286, allocations: 46.61 kB / 378.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.2287, allocations: 70.02 kB / 378.4 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2289, allocations: 246.2 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2289, allocations: 5.438 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2289, allocations: 4 kB / 378.7 MB, free: 42.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.229, allocations: 0 / 378.7 MB, free: 42.29 MB / 298.7 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.00137/0.2303, allocations: 0.6148 MB / 379.3 MB, free: 41.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2304, allocations: 9.688 kB / 379.3 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.2305, allocations: 26.41 kB / 379.3 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.2307, allocations: 251.5 kB / 379.6 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.2308, allocations: 20.05 kB / 379.6 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.2308, allocations: 20.84 kB / 379.6 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.2315, allocations: 312.8 kB / 379.9 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2315, allocations: 0 / 379.9 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.2315, allocations: 10.28 kB / 379.9 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2316, allocations: 5.312 kB / 379.9 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.2324, allocations: 292.5 kB / 380.2 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.234, allocations: 1.077 MB / 381.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.236, allocations: 484.2 kB / 381.8 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.2365, allocations: 158.8 kB / 381.9 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2365, allocations: 9.391 kB / 381.9 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2365, allocations: 37.34 kB / 382 MB, free: 39.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.2365, allocations: 0 / 382 MB, free: 39.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.005477/0.242, allocations: 1.126 MB / 383.1 MB, free: 39.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2421, allocations: 53.66 kB / 383.2 MB, free: 39.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.2424, allocations: 211.7 kB / 383.4 MB, free: 39.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2424, allocations: 30.8 kB / 383.4 MB, free: 39.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.2425, allocations: 152 kB / 383.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.2425, allocations: 49.3 kB / 383.6 MB, free: 38.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.2426, allocations: 5.344 kB / 383.6 MB, free: 38.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.2426, allocations: 335.5 kB / 383.9 MB, free: 38.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.243, allocations: 111.6 kB / 384 MB, free: 38.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.2434, allocations: 146 kB / 384.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.2437, allocations: 120.1 kB / 384.3 MB, free: 38.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2437, allocations: 0 / 384.3 MB, free: 38.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003012/0.2468, allocations: 0.6863 MB / 385 MB, free: 38.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.2468, allocations: 4 kB / 385 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2468, allocations: 4 kB / 385 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006803/0.2475, allocations: 232.7 kB / 385.2 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2477, allocations: 39.97 kB / 385.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/0.2539, allocations: 2.605 MB / 387.9 MB, free: 35.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.2542, allocations: 47.88 kB / 387.9 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2543, allocations: 4 kB / 387.9 MB, free: 35.05 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.2544, allocations: 131.9 kB / 388 MB, free: 34.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.2545, allocations: 23.75 kB / 388.1 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.2545, allocations: 29.47 kB / 388.1 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2545, allocations: 0 / 388.1 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2546, allocations: 0 / 388.1 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2546, allocations: 8 kB / 388.1 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.2549, allocations: 325.3 kB / 388.4 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2549, allocations: 4 kB / 388.4 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.255, allocations: 31.97 kB / 388.5 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005971/0.2556, allocations: 236.7 kB / 388.7 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2557, allocations: 7.953 kB / 388.7 MB, free: 34.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/0.2616, allocations: 2.591 MB / 391.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2616, allocations: 4.062 kB / 391.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.2649, allocations: 0.9058 MB / 392.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.265, allocations: 96.84 kB / 392.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2651, allocations: 4 kB / 392.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.2654, allocations: 35.97 kB / 392.3 MB, free: 30.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2654, allocations: 20.05 kB / 392.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2655, allocations: 0 / 392.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.2656, allocations: 164.4 kB / 392.5 MB, free: 30.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.2656, allocations: 4 kB / 392.5 MB, free: 30.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000438/0.266, allocations: 79.78 kB / 392.6 MB, free: 30.14 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.2662, allocations: 99.25 kB / 392.7 MB, free: 30.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2677, allocations: 479 kB / 393.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2677, allocations: 0 / 393.2 MB, free: 29.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2688, allocations: 350.6 kB / 393.5 MB, free: 29.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.2691, allocations: 36.61 kB / 393.5 MB, free: 29.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2703, allocations: 0.6916 MB / 394.2 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.2705, allocations: 0.7517 MB / 395 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.2706, allocations: 15.44 kB / 395 MB, free: 27.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2706, allocations: 0 / 395 MB, free: 27.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004745/0.2753, allocations: 4.067 MB / 399.1 MB, free: 23.59 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches