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.001514/0.001514, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2469, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003476/0.2504, allocations: 2.714 MB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2516, allocations: 0.709 MB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2517, allocations: 4 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2519, allocations: 47.52 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.252, allocations: 83.25 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.2524, allocations: 111.7 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.2527, allocations: 358.6 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2529, allocations: 92.69 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.2532, allocations: 139.5 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.2534, allocations: 167.3 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.2534, allocations: 32 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.2535, allocations: 32 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.2536, allocations: 67.81 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2537, allocations: 151.2 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.2541, allocations: 355.9 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2541, allocations: 0 / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2541, allocations: 0 / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2541, allocations: 0 / 415 MB, free: 12.52 MB / 334.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.001342/0.2555, allocations: 0.6354 MB / 415.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2555, allocations: 8.031 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.2557, allocations: 48.48 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.256, allocations: 264.7 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2561, allocations: 16.81 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.2561, allocations: 16.38 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.2568, allocations: 306.9 kB / 416.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2568, allocations: 0 / 416.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2568, allocations: 4 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2568, allocations: 8 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.2576, allocations: 269.6 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2592, allocations: 1.069 MB / 417.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2611, allocations: 434.3 kB / 418 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.2615, allocations: 148.7 kB / 418.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2615, allocations: 3.984 kB / 418.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.2616, allocations: 38.56 kB / 418.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.2616, allocations: 0 / 418.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004713/0.2663, allocations: 1.014 MB / 419.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2664, allocations: 55.41 kB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.2666, allocations: 224.9 kB / 419.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2667, allocations: 25.7 kB / 419.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.2668, allocations: 156.1 kB / 419.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.2668, allocations: 55.25 kB / 419.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.2669, allocations: 37.69 kB / 419.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.267, allocations: 330.8 kB / 420.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2674, allocations: 107.9 kB / 420.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.2677, allocations: 128.5 kB / 420.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.2684, allocations: 225.9 kB / 420.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2684, allocations: 0 / 420.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002819/0.2712, allocations: 0.6375 MB / 421.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2713, allocations: 8 kB / 421.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2713, allocations: 3.938 kB / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.272, allocations: 216.7 kB / 421.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2722, allocations: 27.98 kB / 421.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.2789, allocations: 2.75 MB / 424.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2792, allocations: 35.86 kB / 424.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.2792, allocations: 11.97 kB / 424.2 MB, free: 2.828 MB / 334.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.0001698/0.2794, allocations: 137.7 kB / 424.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.2794, allocations: 27.66 kB / 424.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.2795, allocations: 25.89 kB / 424.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2795, allocations: 4 kB / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2795, allocations: 0 / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2795, allocations: 0 / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.2799, allocations: 325.3 kB / 424.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2799, allocations: 0 / 424.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2801, allocations: 28.08 kB / 424.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006545/0.2807, allocations: 224.6 kB / 425 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2808, allocations: 7.984 kB / 425 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/0.2874, allocations: 2.731 MB / 427.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2874, allocations: 4.031 kB / 427.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.291, allocations: 0.8388 MB / 428.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.2912, allocations: 104.9 kB / 428.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.2912, allocations: 0 / 428.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.2916, allocations: 36.03 kB / 428.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2917, allocations: 15.98 kB / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2917, allocations: 0 / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.2919, allocations: 164.5 kB / 428.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2919, allocations: 0 / 428.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.2926, allocations: 83.75 kB / 429 MB, free: 13.85 MB / 350.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.0001573/0.2927, allocations: 114.5 kB / 429.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.2946, allocations: 450.4 kB / 429.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2947, allocations: 3.938 kB / 429.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.2959, allocations: 322.6 kB / 429.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.2965, allocations: 32.66 kB / 429.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.2982, allocations: 0.5925 MB / 430.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.2987, allocations: 0.7437 MB / 431.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.2987, allocations: 19.44 kB / 431.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2988, allocations: 0 / 431.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Templates: time 0.008468/0.3072, allocations: 4.151 MB / 435.4 MB, free: 7.355 MB / 350.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