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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 98.31 kB / 16.94 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 189.8 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB 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.0004227/0.0004228, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.0944, allocations: 47.59 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002654/0.0971, allocations: 2.147 MB / 330.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.09829, allocations: 0.6871 MB / 331.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.0985, allocations: 7.938 kB / 331.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.914e-05/0.09859, allocations: 31.77 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.09882, allocations: 95.7 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.09912, allocations: 71.84 kB / 331.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.09947, allocations: 239.5 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.09964, allocations: 65.14 kB / 331.7 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.09986, allocations: 115.7 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1001, allocations: 143.4 kB / 331.9 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.1001, allocations: 16 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.1002, allocations: 16 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1002, allocations: 47.8 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.1003, allocations: 81.52 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1005, allocations: 239.6 kB / 332.3 MB, free: 108 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1006, allocations: 0 / 332.3 MB, free: 108 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1006, allocations: 4 kB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1006, allocations: 3.938 kB / 332.3 MB, free: 100 kB / 270.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.001388/0.102, allocations: 0.6119 MB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.102, allocations: 8.031 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.1021, allocations: 27.72 kB / 333 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1024, allocations: 247.5 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1024, allocations: 20.39 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1025, allocations: 16 kB / 333.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.1031, allocations: 306.6 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1032, allocations: 0 / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1032, allocations: 11.98 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1032, allocations: 4 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.104, allocations: 297.5 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1057, allocations: 1.073 MB / 334.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.1076, allocations: 482.3 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1076, allocations: 7.953 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1076, allocations: 38.56 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1076, allocations: 0 / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.004844/0.1125, allocations: 1.124 MB / 336.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.1125, allocations: 51.41 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1128, allocations: 217.6 kB / 336.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1128, allocations: 25.7 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1129, allocations: 160 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.113, allocations: 47.3 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.113, allocations: 4 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1131, allocations: 338.8 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.1134, allocations: 111.8 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.1138, allocations: 133.6 kB / 337.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.1142, allocations: 123 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1142, allocations: 0 / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00282/0.117, allocations: 0.6892 MB / 338.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.117, allocations: 12 kB / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.117, allocations: 0 / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007261/0.1178, allocations: 236.6 kB / 338.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.118, allocations: 39.97 kB / 338.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.1246, allocations: 2.677 MB / 341.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.1249, allocations: 43.84 kB / 341.4 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.125, allocations: 4.156 kB / 341.4 MB, free: 6.539 MB / 286.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 (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.0001906/0.1252, allocations: 141.8 kB / 341.6 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.1252, allocations: 19.8 kB / 341.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.1253, allocations: 21.52 kB / 341.6 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1253, allocations: 7.953 kB / 341.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1253, allocations: 0 / 341.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1253, allocations: 0 / 341.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1258, allocations: 329.3 kB / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1258, allocations: 0 / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.126, allocations: 35.97 kB / 342 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/0.1266, allocations: 232.7 kB / 342.2 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.1267, allocations: 4 kB / 342.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006593/0.1333, allocations: 2.673 MB / 344.9 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1333, allocations: 0 / 344.9 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.1365, allocations: 0.9133 MB / 345.8 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1367, allocations: 104.8 kB / 345.9 MB, free: 1.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.1367, allocations: 3.938 kB / 345.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.137, allocations: 44.03 kB / 345.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.1371, allocations: 7.984 kB / 345.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1371, allocations: 7.984 kB / 346 MB, free: 1.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1373, allocations: 156.5 kB / 346.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1373, allocations: 0 / 346.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.1378, allocations: 75.84 kB / 346.2 MB, free: 1.551 MB / 286.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 (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.0001752/0.138, allocations: 111.2 kB / 346.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.1396, allocations: 470.5 kB / 346.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1397, allocations: 0 / 346.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1407, allocations: 350.5 kB / 347.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1411, allocations: 32.61 kB / 347.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1424, allocations: 0.6801 MB / 347.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1428, allocations: 0.7479 MB / 348.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.1429, allocations: 21.48 kB / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.1429, allocations: 15.44 kB / 348.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1429, allocations: 0 / 348.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.008227/0.1511, allocations: 4.454 MB / 353 MB, free: 10.62 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches