Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.000929/0.000929, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008606/0.0008606, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 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 0.9293/0.9293, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.27e-05, allocations: 6.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00362/0.003633, allocations: 4.587 MB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.008262, allocations: 5.857 MB / 334.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.008565, allocations: 63.38 kB / 335 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007585/0.009324, allocations: 480.5 kB / 335.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.01042, allocations: 0.8533 MB / 336.3 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.01098, allocations: 446.2 kB / 336.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.01262, allocations: 2.098 MB / 338.9 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.0128, allocations: 103.2 kB / 339 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.01323, allocations: 0.5104 MB / 339.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.01348, allocations: 239.1 kB / 339.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.01352, allocations: 28 kB / 339.7 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.01408, allocations: 471.4 kB / 340.2 MB, free: 128 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.01415, allocations: 107.2 kB / 340.3 MB, free: 20 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.01432, allocations: 235.2 kB / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.01527, allocations: 1.3 MB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01527, allocations: 8 kB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01527, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.01528, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001159/0.01644, allocations: 1.407 MB / 343.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01648, allocations: 11.98 kB / 343.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.01653, allocations: 62.55 kB / 343.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.01673, allocations: 147.1 kB / 343.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.01749, allocations: 0.7639 MB / 344.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.01751, allocations: 20.5 kB / 344.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.01755, allocations: 23.95 kB / 344.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.01794, allocations: 371.2 kB / 344.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.01795, allocations: 4 kB / 344.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.01797, allocations: 8 kB / 344.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01798, allocations: 8 kB / 344.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.01824, allocations: 259.8 kB / 344.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.0193, allocations: 1.007 MB / 345.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.01959, allocations: 256 kB / 346.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.01989, allocations: 295 kB / 346.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/0.02032, allocations: 169.4 kB / 346.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.02035, allocations: 38.56 kB / 346.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.754e-06/0.02035, allocations: 3.938 kB / 346.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001788/0.02214, allocations: 1.496 MB / 348.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.02218, allocations: 106.8 kB / 348.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.02298, allocations: 0.934 MB / 349.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.02301, allocations: 33.7 kB / 349.2 MB, free: 6.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.02319, allocations: 357.7 kB / 349.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.02327, allocations: 142.7 kB / 349.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.02337, allocations: 113.7 kB / 349.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.02344, allocations: 326 kB / 350.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.02359, allocations: 158.3 kB / 350.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.02376, allocations: 215.8 kB / 350.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.02458, allocations: 0.7528 MB / 351.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.02458, allocations: 0 / 351.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005517/0.02513, allocations: 0.5993 MB / 351.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.02517, allocations: 41.69 kB / 351.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.02519, allocations: 16 kB / 351.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.02533, allocations: 65.69 kB / 352 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.02545, allocations: 39.97 kB / 352 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.02703, allocations: 3.109 MB / 355.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.02716, allocations: 16.03 kB / 355.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.0272, allocations: 28.2 kB / 355.2 MB, free: 0.4922 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.02746, allocations: 256 kB / 355.4 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.02754, allocations: 127.2 kB / 355.5 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009149/0.02845, allocations: 0.7098 MB / 356.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02846, allocations: 4 kB / 356.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02846, allocations: 0 / 356.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.02846, allocations: 0 / 356.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.02889, allocations: 0.541 MB / 356.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.0289, allocations: 16 kB / 356.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.02899, allocations: 31.97 kB / 356.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.02909, allocations: 77.61 kB / 356.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.02911, allocations: 15.94 kB / 356.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.03049, allocations: 3.11 MB / 360 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.03049, allocations: 0 / 360 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.03129, allocations: 0.9445 MB / 361 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.0315, allocations: 201 kB / 361.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.03155, allocations: 11.94 kB / 361.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.03168, allocations: 8.125 kB / 361.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.03174, allocations: 39.95 kB / 361.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.03177, allocations: 19.92 kB / 361.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.03223, allocations: 0.6334 MB / 361.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03223, allocations: 0 / 361.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.0327, allocations: 227.5 kB / 362.1 MB, free: 9.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.03418, allocations: 1.694 MB / 363.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006985/0.03488, allocations: 0.824 MB / 364.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.03488, allocations: 0 / 364.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.03526, allocations: 0.626 MB / 365.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.03563, allocations: 124.9 kB / 365.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.04053, allocations: 5.917 MB / 371.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.04075, allocations: 417 kB / 371.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.0409, allocations: 93.64 kB / 371.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.04111, allocations: 284.4 kB / 372.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04111, allocations: 0 / 372.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.0785, allocations: 18.63 MB / 390.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.718, allocations: 3.984 kB / 390.7 MB, free: 12.29 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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: 9.557389384135604]