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.001211/0.001211, allocations: 110.6 kB / 17.73 MB, free: 5.316 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.001207/0.001208, allocations: 190.9 kB / 18.67 MB, free: 4.383 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.533/1.533, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001157/0.001157, allocations: 55.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09586, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003739/0.09964, allocations: 2.664 MB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1009, allocations: 0.7135 MB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1011, allocations: 4 kB / 378.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1012, allocations: 43.58 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.1014, allocations: 79.27 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1017, allocations: 91.81 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1021, allocations: 362.4 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1023, allocations: 104.6 kB / 379.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.1026, allocations: 135.5 kB / 379.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1028, allocations: 163.4 kB / 379.5 MB, free: 212 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.1028, allocations: 28 kB / 379.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.1029, allocations: 32 kB / 379.5 MB, free: 152 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.103, allocations: 71.75 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2041/0.3071, allocations: 139.5 kB / 379.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.3077, allocations: 348.3 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3077, allocations: 0 / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3077, allocations: 0.9688 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3077, allocations: 3.594 kB / 380.1 MB, free: 10.08 MB / 318.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.001394/0.3091, allocations: 0.6348 MB / 380.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3091, allocations: 10.7 kB / 380.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.3092, allocations: 29.19 kB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3096, allocations: 260.4 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3096, allocations: 14.75 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.3097, allocations: 19.38 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.3104, allocations: 299.7 kB / 381.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3104, allocations: 3.938 kB / 381.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.3104, allocations: 9.25 kB / 381.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3104, allocations: 4.125 kB / 381.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.3112, allocations: 272.7 kB / 381.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3129, allocations: 1.066 MB / 382.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.315, allocations: 440.2 kB / 383.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.3154, allocations: 145.1 kB / 383.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3154, allocations: 2.344 kB / 383.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3154, allocations: 35.02 kB / 383.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.3154, allocations: 0 / 383.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005012/0.3205, allocations: 1.025 MB / 384.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3205, allocations: 58.08 kB / 384.4 MB, free: 8.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3208, allocations: 217 kB / 384.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3208, allocations: 26.89 kB / 384.6 MB, free: 8.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.3209, allocations: 160.2 kB / 384.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.3209, allocations: 47.22 kB / 384.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.321, allocations: 34.78 kB / 384.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.3211, allocations: 333.3 kB / 385.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.3215, allocations: 106.6 kB / 385.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.3218, allocations: 128.8 kB / 385.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.3225, allocations: 229.4 kB / 385.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3225, allocations: 1.125 kB / 385.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003032/0.3256, allocations: 0.6356 MB / 386.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3256, allocations: 9.188 kB / 386.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3256, allocations: 0 / 386.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009125/0.3266, allocations: 222.1 kB / 386.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3268, allocations: 35.52 kB / 386.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.3334, allocations: 2.74 MB / 389.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.3337, allocations: 41.5 kB / 389.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3338, allocations: 5.953 kB / 389.3 MB, free: 5.977 MB / 318.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.0001823/0.334, allocations: 143 kB / 389.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.334, allocations: 22.73 kB / 389.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3341, allocations: 20.95 kB / 389.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3341, allocations: 6.188 kB / 389.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3341, allocations: 0.6094 kB / 389.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3341, allocations: 3.422 kB / 389.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.3345, allocations: 330.3 kB / 389.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3345, allocations: 0 / 389.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3347, allocations: 29 kB / 389.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/0.3353, allocations: 221.7 kB / 390.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3354, allocations: 9.125 kB / 390.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.3418, allocations: 2.733 MB / 392.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3418, allocations: 0 / 392.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.3451, allocations: 0.8408 MB / 393.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.3452, allocations: 100.4 kB / 393.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.3452, allocations: 1.188 kB / 393.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3455, allocations: 37.86 kB / 393.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.3456, allocations: 8.297 kB / 393.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3456, allocations: 4.969 kB / 393.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3458, allocations: 161.5 kB / 394 MB, free: 3.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3458, allocations: 0 / 394 MB, free: 3.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005/0.3463, allocations: 78.66 kB / 394 MB, free: 3.195 MB / 318.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.0001257/0.3464, allocations: 109.1 kB / 394.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.348, allocations: 445.1 kB / 394.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.348, allocations: 0 / 394.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.3491, allocations: 328.2 kB / 394.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3495, allocations: 42.19 kB / 395 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.3508, allocations: 0.5553 MB / 395.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.351, allocations: 0.7439 MB / 396.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.222e-05/0.3511, allocations: 18.19 kB / 396.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.3512, allocations: 16.39 kB / 396.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3512, allocations: 0 / 396.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of Templates: time 0.008717/0.3599, allocations: 4.963 MB / 401.2 MB, free: 136 kB / 318.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches