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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002353/0.002353, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.2e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.007467/0.007509, allocations: 2.549 MB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.009934, allocations: 0.6971 MB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.01015, allocations: 4 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.0104, allocations: 47.56 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.01069, allocations: 79.22 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.01125, allocations: 115.7 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.01196, allocations: 382.3 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.01219, allocations: 60.89 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.01273, allocations: 203.6 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.01308, allocations: 131.6 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.01317, allocations: 32 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.01329, allocations: 32 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.0134, allocations: 67.8 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.01361, allocations: 103.7 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.01437, allocations: 374.8 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.01438, allocations: 3.984 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01438, allocations: 4 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01439, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.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.002492/0.01688, allocations: 0.5677 MB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.01694, allocations: 11.98 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.01728, allocations: 60.73 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.01793, allocations: 202.2 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.01796, allocations: 16.88 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.01805, allocations: 24.38 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.01931, allocations: 351.5 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01932, allocations: 192 / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.01937, allocations: 8.359 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.0194, allocations: 7.938 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.0208, allocations: 265.8 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.02379, allocations: 0.9272 MB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.02718, allocations: 434.2 kB / 279.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.02789, allocations: 136.8 kB / 280 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.02793, allocations: 4.25 kB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/0.02799, allocations: 34.56 kB / 280.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 5.831e-06/0.02799, allocations: 3.984 kB / 280.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.008831/0.03682, allocations: 0.9544 MB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.0369, allocations: 59.34 kB / 281.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.03733, allocations: 203.3 kB / 281.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.03739, allocations: 29.7 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.03761, allocations: 164.3 kB / 281.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.03771, allocations: 51.53 kB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.03787, allocations: 37.69 kB / 281.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002803/0.03815, allocations: 330.8 kB / 281.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.03879, allocations: 107.9 kB / 282 MB, free: 7.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.03944, allocations: 121.6 kB / 282.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.0407, allocations: 224.4 kB / 282.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.0407, allocations: 4 kB / 282.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0054/0.0461, allocations: 0.6423 MB / 283 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.04613, allocations: 4 kB / 283 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.04614, allocations: 0 / 283 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.04826, allocations: 280.6 kB / 283.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.04857, allocations: 35.92 kB / 283.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.06124, allocations: 2.587 MB / 285.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.06172, allocations: 27.94 kB / 285.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.06176, allocations: 15.98 kB / 285.9 MB, free: 3.719 MB / 266.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 (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.0002665/0.06203, allocations: 129.8 kB / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.06214, allocations: 23.86 kB / 286.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.06225, allocations: 29.39 kB / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.06225, allocations: 4 kB / 286.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.06226, allocations: 3.938 kB / 286.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.06226, allocations: 0 / 286.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.06284, allocations: 229 kB / 286.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.06284, allocations: 4.094 kB / 286.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.06311, allocations: 27.98 kB / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.06517, allocations: 280.5 kB / 286.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.0652, allocations: 4 kB / 286.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.07776, allocations: 2.589 MB / 289.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.07777, allocations: 0 / 289.2 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.08398, allocations: 0.8473 MB / 290.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.08407, allocations: 23.83 kB / 290.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.08413, allocations: 0 / 290.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.08467, allocations: 35.91 kB / 290.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.08475, allocations: 7.984 kB / 290.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.08478, allocations: 12.05 kB / 290.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.08507, allocations: 155.2 kB / 290.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08507, allocations: 0 / 290.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008488/0.08592, allocations: 75.89 kB / 290.4 MB, free: 15.09 MB / 282.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 (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.0001903/0.08611, allocations: 99.25 kB / 290.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.08881, allocations: 449.4 kB / 290.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.08881, allocations: 0 / 290.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.09083, allocations: 322.5 kB / 291.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.09145, allocations: 35.92 kB / 291.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.09372, allocations: 0.529 MB / 291.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.09397, allocations: 133.9 kB / 291.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.0941, allocations: 17.48 kB / 291.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.09416, allocations: 12.5 kB / 292 MB, free: 13.44 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.09417, allocations: 0 / 292 MB, free: 13.44 MB / 282.7 MB Notification: Performance of Templates: time 0.01631/0.1105, allocations: 4.682 MB / 296.6 MB, free: 8.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.624909905018285]