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.001758/0.001758, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001969/0.001969, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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.474/1.474, allocations: 177.1 MB / 204.7 MB, free: 8.91 MB / 190.1 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 0.001925/0.001925, allocations: 61.94 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 53.38 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004032/0.1142, allocations: 2.551 MB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1156, allocations: 0.6817 MB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1157, allocations: 4 kB / 382.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1159, allocations: 47.5 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1161, allocations: 83.28 kB / 382.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1165, allocations: 111.8 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.117, allocations: 362.5 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1172, allocations: 60.91 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1175, allocations: 143.5 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.1177, allocations: 151.3 kB / 383.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1178, allocations: 36 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.1178, allocations: 32 kB / 383.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.1179, allocations: 63.81 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1181, allocations: 131.4 kB / 383.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1185, allocations: 346.7 kB / 383.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1185, allocations: 0 / 383.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1185, allocations: 3.938 kB / 383.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1185, allocations: 0 / 383.7 MB, free: 10.71 MB / 350.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.001486/0.12, allocations: 0.5793 MB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1201, allocations: 15.98 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.1202, allocations: 40.73 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1206, allocations: 207 kB / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1206, allocations: 12.88 kB / 384.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.1207, allocations: 20.38 kB / 384.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.1214, allocations: 355.2 kB / 384.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1214, allocations: 3.938 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1214, allocations: 8 kB / 384.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1214, allocations: 11.98 kB / 384.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1222, allocations: 265.8 kB / 385.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1239, allocations: 0.9155 MB / 386.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.1258, allocations: 430.3 kB / 386.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.1262, allocations: 137 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1262, allocations: 8 kB / 386.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1263, allocations: 38.56 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.1263, allocations: 0 / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004767/0.131, allocations: 0.9428 MB / 387.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1311, allocations: 51.41 kB / 387.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.1313, allocations: 203.3 kB / 387.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1313, allocations: 29.7 kB / 387.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1315, allocations: 172.3 kB / 388.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1315, allocations: 47.59 kB / 388.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.1316, allocations: 37.7 kB / 388.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1318, allocations: 330.8 kB / 388.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1321, allocations: 103.9 kB / 388.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.1325, allocations: 128.3 kB / 388.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.1332, allocations: 237.4 kB / 389 MB, free: 5.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1332, allocations: 0 / 389 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00287/0.1361, allocations: 0.6303 MB / 389.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1361, allocations: 4 kB / 389.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1361, allocations: 0 / 389.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.1369, allocations: 220.7 kB / 389.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.137, allocations: 31.97 kB / 389.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.1437, allocations: 2.598 MB / 392.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.1439, allocations: 31.95 kB / 392.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.144, allocations: 7.984 kB / 392.5 MB, free: 1.582 MB / 350.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.0001552/0.1441, allocations: 133.8 kB / 392.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.1442, allocations: 23.8 kB / 392.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.1442, allocations: 25.45 kB / 392.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1442, allocations: 8.062 kB / 392.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1442, allocations: 0 / 392.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1442, allocations: 0 / 392.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.1446, allocations: 233 kB / 392.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1446, allocations: 0 / 392.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1447, allocations: 31.95 kB / 392.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006291/0.1453, allocations: 224.6 kB / 393.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1454, allocations: 4 kB / 393.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.1518, allocations: 2.578 MB / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1518, allocations: 3.938 kB / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.155, allocations: 0.8395 MB / 396.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.155, allocations: 31.75 kB / 396.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1551, allocations: 4 kB / 396.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.1553, allocations: 36.03 kB / 396.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1554, allocations: 7.984 kB / 396.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1554, allocations: 7.984 kB / 396.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1556, allocations: 151.2 kB / 396.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1556, allocations: 3.938 kB / 396.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.156, allocations: 83.83 kB / 396.9 MB, free: 13 MB / 366.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.0001411/0.1562, allocations: 95.25 kB / 397 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.1577, allocations: 446.3 kB / 397.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1577, allocations: 4 kB / 397.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1588, allocations: 322.6 kB / 397.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1591, allocations: 20 kB / 397.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1605, allocations: 0.5578 MB / 398.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.1606, allocations: 133.8 kB / 398.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.1607, allocations: 17.47 kB / 398.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.1607, allocations: 16.5 kB / 398.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1607, allocations: 3.938 kB / 398.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Templates: time 0.009007/0.1697, allocations: 4.667 MB / 403.1 MB, free: 6.66 MB / 366.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.516283052042127]