Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8609/0.8609, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.805e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002725/0.002743, allocations: 2.804 MB / 327.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.003696, allocations: 0.7322 MB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.003817, allocations: 11.94 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.003945, allocations: 55.44 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.004069, allocations: 103 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.004339, allocations: 107.8 kB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.004644, allocations: 433.8 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.004801, allocations: 71.62 kB / 328.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.005076, allocations: 235.5 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005188, allocations: 123.7 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.005223, allocations: 32 kB / 329.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.055e-05/0.005284, allocations: 39.94 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.005323, allocations: 71.73 kB / 329.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.005404, allocations: 119.7 kB / 329.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.005728, allocations: 410.6 kB / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.00573, allocations: 0 / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005731, allocations: 4 kB / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005736, allocations: 0 / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000643/0.006379, allocations: 0.5626 MB / 330.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.006417, allocations: 16.03 kB / 330.5 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.006469, allocations: 66.72 kB / 330.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.006588, allocations: 44.7 kB / 330.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.00686, allocations: 225.1 kB / 330.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006879, allocations: 25.03 kB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.006902, allocations: 24.38 kB / 330.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.007263, allocations: 416.8 kB / 331.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007273, allocations: 4.188 kB / 331.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.007294, allocations: 20.12 kB / 331.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.0073, allocations: 7.938 kB / 331.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.00764, allocations: 214.5 kB / 331.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.008621, allocations: 0.8602 MB / 332.4 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.008942, allocations: 202.7 kB / 332.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.009066, allocations: 96.81 kB / 332.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.009083, allocations: 0 / 332.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.009103, allocations: 42.44 kB / 332.7 MB, free: 7.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.186e-06/0.009106, allocations: 4 kB / 332.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007038/0.009809, allocations: 406.2 kB / 333.1 MB, free: 7.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.009836, allocations: 63.34 kB / 333.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01001, allocations: 261.9 kB / 333.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01002, allocations: 33.7 kB / 333.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.0101, allocations: 192.1 kB / 333.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.01014, allocations: 75.38 kB / 333.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.01019, allocations: 45.94 kB / 333.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.01027, allocations: 330.8 kB / 334.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.01038, allocations: 76.42 kB / 334.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.01051, allocations: 112.3 kB / 334.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.01074, allocations: 183.1 kB / 334.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01074, allocations: 0 / 334.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003859/0.01113, allocations: 323 kB / 334.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01114, allocations: 7.938 kB / 334.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.01114, allocations: 0 / 334.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.01132, allocations: 77.61 kB / 334.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01142, allocations: 35.97 kB / 334.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.01289, allocations: 2.833 MB / 337.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.01299, allocations: 31.8 kB / 337.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.013, allocations: 8 kB / 337.7 MB, free: 2.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001013/0.0131, allocations: 145.9 kB / 337.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.01317, allocations: 31.78 kB / 337.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.01319, allocations: 26.28 kB / 337.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01319, allocations: 0 / 337.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.0132, allocations: 4 kB / 337.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.0132, allocations: 3.984 kB / 338 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.0138, allocations: 0.6203 MB / 338.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0138, allocations: 3.938 kB / 338.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.01386, allocations: 23.98 kB / 338.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.01397, allocations: 73.66 kB / 338.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01398, allocations: 4 kB / 338.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.01544, allocations: 2.814 MB / 341.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01544, allocations: 4 kB / 341.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.01577, allocations: 385.5 kB / 341.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.0158, allocations: 27.8 kB / 341.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.01581, allocations: 0 / 341.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01593, allocations: 31.97 kB / 341.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.01598, allocations: 27.89 kB / 342 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01599, allocations: 8 kB / 342 MB, free: 13.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.0161, allocations: 189.2 kB / 342.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0161, allocations: 7.875 kB / 342.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.01636, allocations: 95.84 kB / 342.2 MB, free: 13.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * 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: 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.0005117/0.01687, allocations: 0.9122 MB / 343.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.01731, allocations: 437.1 kB / 343.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01731, allocations: 4 kB / 343.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.01752, allocations: 341.3 kB / 343.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01778, allocations: 44.42 kB / 344 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.02021, allocations: 2.705 MB / 346.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.02032, allocations: 167.5 kB / 346.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.0204, allocations: 26.28 kB / 346.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.02049, allocations: 92.47 kB / 347 MB, free: 8.492 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02049, allocations: 0 / 347 MB, free: 8.492 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.04169, allocations: 7.519 MB / 354.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.914, allocations: 10.53 kB / 354.5 MB, free: 1.168 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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: 8.566709687002003]