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/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_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_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.00109/0.00109, allocations: 183.2 kB / 18.04 MB, free: 3.785 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.385/1.385, allocations: 205.4 MB / 224.2 MB, free: 9.031 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.000803/0.0008032, allocations: 77.56 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08588/0.2994, allocations: 77.46 MB / 454.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.2996, allocations: 71.97 kB / 454.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.3139, allocations: 4.659 MB / 459.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.314, allocations: 0 / 459.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.314, allocations: 8 kB / 459.2 MB, free: 14.35 MB / 346.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.00105/0.3151, allocations: 0.5535 MB / 459.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3151, allocations: 8.031 kB / 459.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.3152, allocations: 28.66 kB / 459.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3156, allocations: 256.7 kB / 460 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3156, allocations: 20.81 kB / 460.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.3157, allocations: 16.38 kB / 460.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.3163, allocations: 303.2 kB / 460.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3164, allocations: 192 / 460.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.3164, allocations: 15.94 kB / 460.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.3164, allocations: 7.938 kB / 460.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007912/0.3172, allocations: 285.5 kB / 460.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.319, allocations: 1.102 MB / 461.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3209, allocations: 478.3 kB / 462.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.3213, allocations: 156.8 kB / 462.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3214, allocations: 3.984 kB / 462.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3214, allocations: 34.56 kB / 462.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.644e-06/0.3214, allocations: 0 / 462.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.005231/0.3266, allocations: 1.157 MB / 463.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3267, allocations: 51.41 kB / 463.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.327, allocations: 216.2 kB / 463.9 MB, free: 9.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.327, allocations: 25.7 kB / 463.9 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3271, allocations: 164.1 kB / 464 MB, free: 9.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.3272, allocations: 47.27 kB / 464.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.3272, allocations: 4 kB / 464.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3274, allocations: 334.8 kB / 464.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3277, allocations: 107.9 kB / 464.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.328, allocations: 141 kB / 464.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.3287, allocations: 245.9 kB / 464.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3287, allocations: 0 / 464.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002933/0.3317, allocations: 0.7008 MB / 465.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3317, allocations: 6.344 kB / 465.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3317, allocations: 0 / 465.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007053/0.3324, allocations: 240.6 kB / 465.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.3326, allocations: 35.92 kB / 465.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.3391, allocations: 2.614 MB / 468.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3394, allocations: 39.97 kB / 468.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3395, allocations: 8 kB / 468.5 MB, free: 4.574 MB / 346.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.0001754/0.3397, allocations: 129.8 kB / 468.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.3397, allocations: 27.66 kB / 468.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.3398, allocations: 21.53 kB / 468.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3398, allocations: 4 kB / 468.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3398, allocations: 0 / 468.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3398, allocations: 7.984 kB / 468.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.3402, allocations: 313.4 kB / 469 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3402, allocations: 0 / 469 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3404, allocations: 43.91 kB / 469.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/0.3411, allocations: 236.7 kB / 469.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3411, allocations: 4 kB / 469.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/0.3472, allocations: 2.603 MB / 471.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3473, allocations: 0 / 471.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.3505, allocations: 0.9175 MB / 472.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3506, allocations: 96.88 kB / 472.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3507, allocations: 0 / 472.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.351, allocations: 47.97 kB / 473 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3511, allocations: 7.984 kB / 473 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3511, allocations: 4 kB / 473 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3512, allocations: 161.6 kB / 473.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3512, allocations: 0 / 473.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004885/0.3517, allocations: 83.84 kB / 473.2 MB, free: 15.66 MB / 362.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.0001638/0.3519, allocations: 107.2 kB / 473.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3536, allocations: 490.9 kB / 473.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3536, allocations: 4 kB / 473.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3547, allocations: 373.5 kB / 474.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3551, allocations: 36.58 kB / 474.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3566, allocations: 0.6674 MB / 474.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.357, allocations: 0.7478 MB / 475.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3571, allocations: 21.53 kB / 475.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3572, allocations: 15.44 kB / 475.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3572, allocations: 0 / 475.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Templates: time 0.008492/0.3657, allocations: 4.501 MB / 480.2 MB, free: 8.641 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/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_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches