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.001298/0.001298, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 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.001377/0.001377, allocations: 214.8 kB / 23.74 MB, free: 4.695 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.388/1.388, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2481, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004625/0.2527, allocations: 2.741 MB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2542, allocations: 0.7245 MB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2543, allocations: 4 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.2545, allocations: 43.52 kB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2547, allocations: 87.2 kB / 434.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.255, allocations: 111.8 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.2555, allocations: 358.6 kB / 435.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2556, allocations: 64.91 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.2559, allocations: 147.5 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.2562, allocations: 171.3 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.2562, allocations: 32 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.2563, allocations: 32 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.2564, allocations: 63.81 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.2565, allocations: 151.2 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.2569, allocations: 351 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2569, allocations: 0 / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2569, allocations: 0 / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.257, allocations: 0 / 436.2 MB, free: 1.629 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.001578/0.2585, allocations: 0.5793 MB / 436.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2586, allocations: 8.031 kB / 436.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.4e-05/0.2586, allocations: 54.73 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2589, allocations: 40.73 kB / 436.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.2593, allocations: 199 kB / 437.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.2593, allocations: 20.81 kB / 437.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.2594, allocations: 20.38 kB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.26, allocations: 302.7 kB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2601, allocations: 4 kB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2601, allocations: 15.98 kB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2601, allocations: 4 kB / 437.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.2609, allocations: 269.5 kB / 437.7 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.2627, allocations: 1.031 MB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.2646, allocations: 430.3 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.265, allocations: 140.8 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.265, allocations: 4 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2651, allocations: 30.56 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.2651, allocations: 0 / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005039/0.2701, allocations: 0.9544 MB / 440.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.2702, allocations: 55.41 kB / 440.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.2704, allocations: 220.9 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.2704, allocations: 29.7 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2706, allocations: 164.2 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.2706, allocations: 43.64 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.2707, allocations: 45.58 kB / 440.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2709, allocations: 326.8 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2712, allocations: 111.9 kB / 441.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.2716, allocations: 121.5 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.2722, allocations: 236 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2722, allocations: 3.938 kB / 441.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002995/0.2752, allocations: 0.623 MB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2753, allocations: 4 kB / 442.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2753, allocations: 4 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.276, allocations: 220.6 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2762, allocations: 31.98 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/0.2832, allocations: 2.643 MB / 445.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2835, allocations: 47.89 kB / 445.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2835, allocations: 4 kB / 445.2 MB, free: 8.293 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.0001685/0.2836, allocations: 137.7 kB / 445.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.2837, allocations: 19.91 kB / 445.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2838, allocations: 21.78 kB / 445.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2838, allocations: 0 / 445.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2838, allocations: 8 kB / 445.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2838, allocations: 7.984 kB / 445.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2842, allocations: 292.5 kB / 445.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2842, allocations: 4 kB / 445.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2844, allocations: 31.95 kB / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.285, allocations: 220.7 kB / 445.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.285, allocations: 7.984 kB / 446 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/0.292, allocations: 2.632 MB / 448.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.292, allocations: 3.938 kB / 448.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.2954, allocations: 0.8395 MB / 449.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.2955, allocations: 23.89 kB / 449.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2955, allocations: 0 / 449.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.2958, allocations: 36.03 kB / 449.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2959, allocations: 7.984 kB / 449.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.2959, allocations: 11.92 kB / 449.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.2961, allocations: 160.5 kB / 449.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2961, allocations: 0 / 449.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000451/0.2965, allocations: 75.89 kB / 449.7 MB, free: 3.578 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.003767/0.3003, allocations: 1.396 MB / 451.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.3019, allocations: 438.5 kB / 451.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3019, allocations: 3.938 kB / 451.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3031, allocations: 318.6 kB / 451.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3035, allocations: 40.59 kB / 451.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/0.3125, allocations: 3.36 MB / 455.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3129, allocations: 0.7476 MB / 456 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.313, allocations: 17.47 kB / 456 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3131, allocations: 67.42 kB / 456.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3131, allocations: 0 / 456.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.3522, allocations: 7.519 MB / 463.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.59, allocations: 4 kB / 463.6 MB, free: 5.656 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection_fmu --startTime=0 --stopTime=0.4 --stepSize=7.9968e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] 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: 14.983536937041208]