Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.00129/0.00129, allocations: 115.9 kB / 18.45 MB, free: 4.586 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.001311/0.001311, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.6 MB / 231.8 MB, free: 4.199 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09298, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004154/0.09713, allocations: 2.967 MB / 394.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.09825, allocations: 0.7291 MB / 395.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.09838, allocations: 11.94 kB / 395.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.09854, allocations: 55.44 kB / 395.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.09871, allocations: 103.1 kB / 395.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.09897, allocations: 91.81 kB / 395.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.0994, allocations: 418 kB / 395.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.09958, allocations: 83.03 kB / 395.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.09978, allocations: 151.5 kB / 396 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.09997, allocations: 159.3 kB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.1, allocations: 32 kB / 396.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.1001, allocations: 32 kB / 396.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1002, allocations: 79.67 kB / 396.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1004, allocations: 179.1 kB / 396.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.1008, allocations: 382.4 kB / 396.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1008, allocations: 4 kB / 396.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1008, allocations: 0 / 396.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1008, allocations: 0 / 396.8 MB, free: 3.277 MB / 318.1 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.001029/0.1018, allocations: 0.6467 MB / 397.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1019, allocations: 11.89 kB / 397.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.1019, allocations: 62.73 kB / 397.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.102, allocations: 40.69 kB / 397.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1024, allocations: 283.8 kB / 397.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1024, allocations: 16.94 kB / 397.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1025, allocations: 28.38 kB / 397.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.103, allocations: 265 kB / 398.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.103, allocations: 4 kB / 398.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.103, allocations: 8 kB / 398.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.103, allocations: 8 kB / 398.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1035, allocations: 218.1 kB / 398.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1051, allocations: 0.9641 MB / 399.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.1056, allocations: 287.7 kB / 399.6 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1058, allocations: 96.81 kB / 399.7 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1058, allocations: 0 / 399.7 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1059, allocations: 38.56 kB / 399.8 MB, free: 120 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 9.82e-07/0.1059, allocations: 0 / 399.8 MB, free: 120 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00128/0.1071, allocations: 0.5599 MB / 400.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1072, allocations: 51.41 kB / 400.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1075, allocations: 258.6 kB / 400.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1075, allocations: 37.7 kB / 400.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1076, allocations: 184.2 kB / 400.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.1077, allocations: 71.38 kB / 400.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.1077, allocations: 49.89 kB / 401 MB, free: 14.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1079, allocations: 334.8 kB / 401.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1081, allocations: 72.42 kB / 401.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1083, allocations: 112.4 kB / 401.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1087, allocations: 186.4 kB / 401.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1087, allocations: 0 / 401.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006195/0.1093, allocations: 322.8 kB / 402 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1093, allocations: 8 kB / 402 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1093, allocations: 0 / 402 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.1096, allocations: 81.67 kB / 402.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1098, allocations: 35.97 kB / 402.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.1123, allocations: 3.04 MB / 405.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1125, allocations: 32.02 kB / 405.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1125, allocations: 12 kB / 405.2 MB, free: 10.3 MB / 334.1 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.0001605/0.1127, allocations: 141.7 kB / 405.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.1128, allocations: 35.88 kB / 405.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.1128, allocations: 34.11 kB / 405.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1128, allocations: 7.984 kB / 405.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1128, allocations: 0 / 405.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1128, allocations: 3.984 kB / 405.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1138, allocations: 0.6719 MB / 406.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1138, allocations: 0 / 406.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.114, allocations: 31.91 kB / 406.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.1142, allocations: 77.61 kB / 406.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1142, allocations: 4 kB / 406.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.1166, allocations: 3.044 MB / 409.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1166, allocations: 4.031 kB / 409.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.1172, allocations: 374.3 kB / 409.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.1173, allocations: 116.9 kB / 409.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1173, allocations: 0 / 409.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.1176, allocations: 31.97 kB / 409.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.1176, allocations: 15.98 kB / 409.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1176, allocations: 8.125 kB / 409.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1178, allocations: 198 kB / 409.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1178, allocations: 0 / 409.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.1182, allocations: 95.83 kB / 410 MB, free: 5.02 MB / 334.1 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.0009424/0.1191, allocations: 0.9013 MB / 410.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.1199, allocations: 449.2 kB / 411.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1199, allocations: 7.938 kB / 411.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.1203, allocations: 337.2 kB / 411.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1207, allocations: 60.48 kB / 411.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.1244, allocations: 2.714 MB / 414.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1248, allocations: 0.7638 MB / 415.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1249, allocations: 22.3 kB / 415.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.125, allocations: 91.41 kB / 415.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.125, allocations: 0 / 415.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.1609, allocations: 6.465 MB / 421.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.523/9.684, allocations: 7.984 kB / 421.8 MB, free: 8.945 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.118622391019017]