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.00172/0.00172, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001516/0.001516, allocations: 208.2 kB / 24.53 MB, free: 4.066 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.478/1.478, allocations: 230.5 MB / 258.2 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3075, allocations: 53.4 MB / 432 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003979/0.3115, allocations: 2.57 MB / 434.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3128, allocations: 0.705 MB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3129, allocations: 11.88 kB / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.313, allocations: 35.64 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3132, allocations: 75.34 kB / 435.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.3135, allocations: 103.7 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.3138, allocations: 278.8 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.314, allocations: 60.55 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3142, allocations: 115.6 kB / 435.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.3144, allocations: 119.5 kB / 436 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.3144, allocations: 20 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.3145, allocations: 39.98 kB / 436.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.3145, allocations: 51.83 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3147, allocations: 131.4 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.315, allocations: 283.6 kB / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.315, allocations: 0 / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.315, allocations: 0 / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.315, allocations: 0 / 436.5 MB, free: 2.074 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.0008395/0.3159, allocations: 485.5 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3159, allocations: 8.031 kB / 437 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.076e-05/0.3159, allocations: 8.625 kB / 437 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.316, allocations: 50.73 kB / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.3162, allocations: 40.73 kB / 437.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3165, allocations: 186.8 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3165, allocations: 12.81 kB / 437.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.3166, allocations: 20.38 kB / 437.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.317, allocations: 199.2 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.317, allocations: 3.938 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.317, allocations: 8 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.317, allocations: 4 kB / 437.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.3173, allocations: 149.7 kB / 437.7 MB, free: 0.8555 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.001459/0.3188, allocations: 0.8938 MB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.3191, allocations: 146.6 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3193, allocations: 88.83 kB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3194, allocations: 0 / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3194, allocations: 34.56 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3194, allocations: 4 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001283/0.3207, allocations: 332.8 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3207, allocations: 63.34 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.3209, allocations: 180.7 kB / 439.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.321, allocations: 29.7 kB / 439.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3211, allocations: 156.3 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.3211, allocations: 63.44 kB / 439.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.3212, allocations: 37.7 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3213, allocations: 330.8 kB / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3215, allocations: 47.97 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3216, allocations: 77.25 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3218, allocations: 124.5 kB / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3218, allocations: 0 / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004163/0.3223, allocations: 218.3 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3223, allocations: 11.94 kB / 440.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.3223, allocations: 4.031 kB / 440.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.3236, allocations: 216.5 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3238, allocations: 31.97 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/0.3243, allocations: 0.607 MB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3244, allocations: 19.86 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3245, allocations: 4 kB / 441.4 MB, free: 12.96 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.0001444/0.3246, allocations: 133.8 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.3246, allocations: 15.91 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.3251, allocations: 238.8 kB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3251, allocations: 4.062 kB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3251, allocations: 0 / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3251, allocations: 0 / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.326, allocations: 0.5652 MB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.326, allocations: 0 / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3262, allocations: 31.97 kB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.3272, allocations: 200.6 kB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3272, allocations: 11.98 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004871/0.3277, allocations: 0.6187 MB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3277, allocations: 0 / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.3285, allocations: 423.6 kB / 443.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3286, allocations: 27.77 kB / 443.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3286, allocations: 0 / 443.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3287, allocations: 20.05 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3288, allocations: 11.98 kB / 443.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3288, allocations: 7.984 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3289, allocations: 128.1 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3292, allocations: 55.89 kB / 443.8 MB, free: 10.37 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.0012/0.3304, allocations: 0.9623 MB / 444.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.3308, allocations: 151.8 kB / 444.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3308, allocations: 0 / 444.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.331, allocations: 75.91 kB / 445 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3313, allocations: 27.92 kB / 445 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3344, allocations: 2.348 MB / 447.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3348, allocations: 0.7359 MB / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.3349, allocations: 13.48 kB / 448.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.335, allocations: 59.41 kB / 448.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.335, allocations: 4 kB / 448.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3615, allocations: 5.021 MB / 453.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.06, allocations: 8.812 kB / 453.2 MB, free: 0.9609 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.710964316036552]