Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.001631/0.001631, allocations: 119.3 kB / 17.74 MB, free: 5.219 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.001779/0.001779, allocations: 186.9 kB / 20.68 MB, free: 2.293 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.399/1.399, allocations: 222.9 MB / 246.4 MB, free: 4.219 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.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.92 kB / 357.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09565, allocations: 49.44 MB / 406.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003286/0.09897, allocations: 2.141 MB / 409.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.09987, allocations: 0.5338 MB / 409.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.09997, allocations: 4 kB / 409.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1001, allocations: 23.78 kB / 409.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.1002, allocations: 43.58 kB / 409.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1004, allocations: 43.88 kB / 409.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1006, allocations: 163.2 kB / 409.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1008, allocations: 53.69 kB / 409.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1009, allocations: 63.83 kB / 410 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.101, allocations: 67.64 kB / 410.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1011, allocations: 16 kB / 410.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.1011, allocations: 16 kB / 410.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.1012, allocations: 27.92 kB / 410.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.1013, allocations: 67.67 kB / 410.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1015, allocations: 163.3 kB / 410.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1015, allocations: 0 / 410.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1015, allocations: 0 / 410.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1015, allocations: 0 / 410.3 MB, free: 3.977 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006749/0.1022, allocations: 455 kB / 410.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1023, allocations: 11.97 kB / 410.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1023, allocations: 46.67 kB / 410.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.1024, allocations: 12.89 kB / 410.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1027, allocations: 212.1 kB / 411.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1027, allocations: 8.609 kB / 411.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1028, allocations: 12.38 kB / 411.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.103, allocations: 125.2 kB / 411.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1031, allocations: 0 / 411.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1031, allocations: 8 kB / 411.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1031, allocations: 4 kB / 411.2 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1033, allocations: 76.66 kB / 411.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.1042, allocations: 0.6019 MB / 411.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1045, allocations: 94.56 kB / 412 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.1045, allocations: 28.97 kB / 412 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1046, allocations: 4 kB / 412 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1046, allocations: 34.56 kB / 412.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1046, allocations: 0 / 412.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006935/0.1053, allocations: 255.4 kB / 412.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1054, allocations: 55.41 kB / 412.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1055, allocations: 147 kB / 412.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1055, allocations: 25.7 kB / 412.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.1056, allocations: 132.1 kB / 412.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1056, allocations: 23.78 kB / 412.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1057, allocations: 21.72 kB / 412.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1058, allocations: 318.8 kB / 413 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.1059, allocations: 19.98 kB / 413 MB, free: 1.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.106, allocations: 46.5 kB / 413.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1061, allocations: 70.56 kB / 413.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1062, allocations: 0 / 413.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002805/0.1064, allocations: 138.3 kB / 413.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1065, allocations: 4 kB / 413.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1065, allocations: 8.062 kB / 413.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.1067, allocations: 32.84 kB / 413.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.1067, allocations: 11.98 kB / 413.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.1083, allocations: 1.694 MB / 415 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.1084, allocations: 8.031 kB / 415 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1084, allocations: 12.06 kB / 415 MB, free: 14.82 MB / 350.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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1085, allocations: 121.7 kB / 415.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1086, allocations: 11.89 kB / 415.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.1086, allocations: 20.7 kB / 415.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1086, allocations: 0 / 415.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-07/0.1086, allocations: 0 / 415.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1086, allocations: 0 / 415.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1088, allocations: 213.6 kB / 415.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1088, allocations: 3.938 kB / 415.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.1089, allocations: 8 kB / 415.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.109, allocations: 36.83 kB / 415.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.109, allocations: 0 / 415.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.1105, allocations: 1.674 MB / 417.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1105, allocations: 4 kB / 417.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.1109, allocations: 216.3 kB / 417.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.111, allocations: 93 kB / 417.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.111, allocations: 4 kB / 417.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1112, allocations: 4 kB / 417.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1112, allocations: 7.984 kB / 417.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1113, allocations: 0 / 417.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1114, allocations: 117.1 kB / 417.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1114, allocations: 0 / 417.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.112, allocations: 43.89 kB / 417.6 MB, free: 12.02 MB / 350.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 (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008322/0.1129, allocations: 0.7444 MB / 418.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1134, allocations: 194.5 kB / 418.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1134, allocations: 0 / 418.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.1137, allocations: 162.5 kB / 418.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1142, allocations: 14.33 kB / 418.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1171, allocations: 1.718 MB / 420.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1176, allocations: 0.7041 MB / 421.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.1177, allocations: 16.39 kB / 421.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1177, allocations: 23.44 kB / 421.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1177, allocations: 4 kB / 421.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.1519, allocations: 3.03 MB / 424.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.33, allocations: 11.75 kB / 424.2 MB, free: 5.34 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Resistor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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: 13.897386487107724]