Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001344/0.001344, allocations: 110.1 kB / 20.43 MB, free: 1.309 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.001528/0.001528, allocations: 207.9 kB / 23.74 MB, free: 4.543 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.251, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004107/0.2551, allocations: 2.564 MB / 433.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2564, allocations: 0.7128 MB / 434.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2565, allocations: 4 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2566, allocations: 39.64 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2568, allocations: 71.28 kB / 434.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.2571, allocations: 95.83 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.2574, allocations: 282.7 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2576, allocations: 64.5 kB / 435 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.2578, allocations: 115.6 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.2579, allocations: 115.5 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.258, allocations: 24 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.2581, allocations: 39.97 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.2581, allocations: 51.78 kB / 435.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2583, allocations: 131.3 kB / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.2586, allocations: 291.2 kB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2586, allocations: 4 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2586, allocations: 0 / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2586, allocations: 0 / 435.8 MB, free: 2.09 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.000843/0.2595, allocations: 473.5 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2595, allocations: 12.03 kB / 436.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.2596, allocations: 50.73 kB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.2597, allocations: 44.73 kB / 436.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.2601, allocations: 182.9 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2601, allocations: 12.81 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2601, allocations: 24.36 kB / 436.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.2605, allocations: 199.3 kB / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2605, allocations: 4 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2605, allocations: 8 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2605, allocations: 4 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.2609, allocations: 153.7 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2622, allocations: 0.8938 MB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.2625, allocations: 142.6 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.2627, allocations: 84.83 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2627, allocations: 0 / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2628, allocations: 38.56 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.82e-07/0.2628, allocations: 0 / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001206/0.264, allocations: 340.7 kB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.264, allocations: 59.39 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2642, allocations: 180.1 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2642, allocations: 25.7 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2643, allocations: 152.4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.2644, allocations: 67.42 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.2644, allocations: 37.7 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2646, allocations: 334.8 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2647, allocations: 47.97 kB / 439.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2648, allocations: 77.19 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2651, allocations: 124.5 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2651, allocations: 0 / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004002/0.2655, allocations: 222.3 kB / 439.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2655, allocations: 8 kB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2655, allocations: 7.922 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.2668, allocations: 212.6 kB / 439.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.267, allocations: 39.91 kB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/0.2675, allocations: 0.6031 MB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2676, allocations: 15.92 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2676, allocations: 4 kB / 440.6 MB, free: 12.98 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.2678, allocations: 137.7 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2678, allocations: 19.97 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.2683, allocations: 227 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2683, allocations: 0 / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2683, allocations: 0 / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2683, allocations: 3.984 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.2692, allocations: 0.573 MB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2692, allocations: 3.938 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2693, allocations: 27.97 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.2704, allocations: 204.6 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2704, allocations: 4 kB / 441.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004977/0.2709, allocations: 0.6226 MB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.2709, allocations: 4 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.2717, allocations: 424.9 kB / 442.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2718, allocations: 19.8 kB / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2718, allocations: 11.92 kB / 442.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2719, allocations: 8 kB / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.272, allocations: 15.97 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.272, allocations: 4 kB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2721, allocations: 129.2 kB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2721, allocations: 0 / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.2724, allocations: 59.95 kB / 443 MB, free: 10.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.2736, allocations: 0.9599 MB / 444 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.274, allocations: 156.7 kB / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.274, allocations: 0 / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2742, allocations: 75.95 kB / 444.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.2745, allocations: 24.19 kB / 444.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2775, allocations: 2.336 MB / 446.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2779, allocations: 0.7398 MB / 447.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.2779, allocations: 13.48 kB / 447.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.278, allocations: 63.41 kB / 447.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.278, allocations: 0 / 447.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.3109, allocations: 4.98 MB / 452.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.59, allocations: 4 kB / 452.4 MB, free: 1.027 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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: 15.015008846996352]