Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 55.91 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.09084, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006388/0.09723, allocations: 5.222 MB / 423 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.1063, allocations: 6.651 MB / 429.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.1071, allocations: 39.69 kB / 429.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.1086, allocations: 0.4969 MB / 430.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.1116, allocations: 0.8263 MB / 431 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.113, allocations: 430.5 kB / 431.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003466/0.1165, allocations: 2.005 MB / 433.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.1168, allocations: 99.06 kB / 433.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.1175, allocations: 378.2 kB / 433.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.118, allocations: 345.6 kB / 434.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.1181, allocations: 28 kB / 434.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1193, allocations: 491.5 kB / 434.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1194, allocations: 107.3 kB / 434.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.1198, allocations: 449 kB / 435.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.1217, allocations: 1.276 MB / 436.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1217, allocations: 0 / 436.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1217, allocations: 0 / 436.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.1217, allocations: 4 kB / 436.6 MB, free: 9.727 MB / 366.1 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.002134/0.1238, allocations: 1.486 MB / 438 MB, free: 8.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1239, allocations: 11.97 kB / 438.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.918e-05/0.124, allocations: 58.55 kB / 438.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1241, allocations: 139.1 kB / 438.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1253, allocations: 0.8593 MB / 439.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1253, allocations: 16.44 kB / 439.1 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.1254, allocations: 24 kB / 439.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.1259, allocations: 310.6 kB / 439.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1259, allocations: 4 kB / 439.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.126, allocations: 8 kB / 439.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.126, allocations: 7.938 kB / 439.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.1264, allocations: 229.7 kB / 439.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1283, allocations: 1.115 MB / 440.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.1287, allocations: 230.4 kB / 441 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.1291, allocations: 264.7 kB / 441.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.1301, allocations: 0.7555 MB / 442 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1302, allocations: 34.56 kB / 442.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.1302, allocations: 0 / 442.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002989/0.1332, allocations: 1.562 MB / 443.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.1332, allocations: 118.8 kB / 443.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.1343, allocations: 0.9301 MB / 444.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.1344, allocations: 29.7 kB / 444.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.1347, allocations: 357.7 kB / 445.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.1348, allocations: 142.7 kB / 445.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.135, allocations: 117.7 kB / 445.3 MB, free: 464 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1351, allocations: 325.9 kB / 445.6 MB, free: 132 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1354, allocations: 128.6 kB / 445.8 MB, free: 0 / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1699/0.3053, allocations: 159.5 kB / 445.9 MB, free: 30.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.3065, allocations: 0.727 MB / 446.6 MB, free: 30.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3065, allocations: 0.5625 kB / 446.6 MB, free: 30.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008451/0.3073, allocations: 0.5636 MB / 447.2 MB, free: 29.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.3074, allocations: 37.88 kB / 447.2 MB, free: 29.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.3074, allocations: 16.34 kB / 447.3 MB, free: 29.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.3076, allocations: 71.2 kB / 447.3 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3078, allocations: 45.58 kB / 447.4 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3096, allocations: 3.332 MB / 450.7 MB, free: 26.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.3099, allocations: 12.38 kB / 450.7 MB, free: 26.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.3099, allocations: 21.25 kB / 450.7 MB, free: 26.97 MB / 366.1 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.0003522/0.3103, allocations: 261.3 kB / 451 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3104, allocations: 128.4 kB / 451.1 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3115, allocations: 0.6609 MB / 451.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3115, allocations: 3.594 kB / 451.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3115, allocations: 4.453 kB / 451.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3115, allocations: 0.9375 kB / 451.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.3121, allocations: 0.6165 MB / 452.4 MB, free: 26.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.3121, allocations: 18.02 kB / 452.4 MB, free: 26.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3123, allocations: 37.58 kB / 452.5 MB, free: 26.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.3124, allocations: 69.67 kB / 452.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.3125, allocations: 17.91 kB / 452.6 MB, free: 26.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.3141, allocations: 3.33 MB / 455.9 MB, free: 23.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3141, allocations: 1.062 kB / 455.9 MB, free: 23.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3153, allocations: 0.8509 MB / 456.7 MB, free: 23.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.3157, allocations: 284.1 kB / 457 MB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/0.3158, allocations: 5.875 kB / 457 MB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.316, allocations: 17.92 kB / 457 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3161, allocations: 33.72 kB / 457.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.3162, allocations: 21.88 kB / 457.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007645/0.3169, allocations: 0.6243 MB / 457.7 MB, free: 22.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3169, allocations: 5.25 kB / 457.7 MB, free: 22.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008096/0.3177, allocations: 226 kB / 457.9 MB, free: 22.88 MB / 366.1 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.00201/0.3198, allocations: 1.604 MB / 459.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3208, allocations: 0.7426 MB / 460.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3208, allocations: 0 / 460.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.3213, allocations: 0.5885 MB / 460.9 MB, free: 20.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3219, allocations: 118.2 kB / 461 MB, free: 20.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.3294, allocations: 5.756 MB / 466.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3298, allocations: 0.9996 MB / 467.7 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.3301, allocations: 94.83 kB / 467.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3303, allocations: 284.1 kB / 468.1 MB, free: 16.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3303, allocations: 0 / 468.1 MB, free: 16.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.3809, allocations: 17.36 MB / 485.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 12.88 kB / 485.5 MB, free: 9.176 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.38933242391795]