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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 95.27 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 173.8 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 4 kB / 301.5 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 50.42 MB / 351.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.0024/0.1103, allocations: 1.837 MB / 353.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.1112, allocations: 0.5339 MB / 354.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.1113, allocations: 0 / 354.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.1114, allocations: 15.86 kB / 354.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.1115, allocations: 39.69 kB / 354.4 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1117, allocations: 31.95 kB / 354.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1119, allocations: 155.3 kB / 354.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1121, allocations: 45.45 kB / 354.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1122, allocations: 59.72 kB / 354.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1123, allocations: 59.7 kB / 354.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1123, allocations: 4 kB / 354.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.1124, allocations: 16 kB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.1124, allocations: 15.92 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.1125, allocations: 97.3 kB / 354.8 MB, free: 456 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1127, allocations: 151.7 kB / 355 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1127, allocations: 4 kB / 355 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1127, allocations: 0 / 355 MB, free: 300 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1127, allocations: 0 / 355 MB, free: 300 kB / 286.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.0005581/0.1133, allocations: 419.3 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1133, allocations: 8.031 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.1134, allocations: 50.73 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.1135, allocations: 16.75 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1137, allocations: 208 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1137, allocations: 12.61 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1138, allocations: 8.375 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.114, allocations: 120.6 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.114, allocations: 0 / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.114, allocations: 8 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1141, allocations: 4 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1143, allocations: 84.66 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.1151, allocations: 0.6134 MB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1154, allocations: 82.62 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.1155, allocations: 40.95 kB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1155, allocations: 4 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1156, allocations: 34.5 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1156, allocations: 0 / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006959/0.1163, allocations: 267.3 kB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1163, allocations: 55.39 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1164, allocations: 148.5 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1165, allocations: 29.64 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.1166, allocations: 131.9 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1166, allocations: 23.73 kB / 357.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.1166, allocations: 9.719 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1167, allocations: 322.8 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.1168, allocations: 23.98 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.1169, allocations: 42.56 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.117, allocations: 78.5 kB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.117, allocations: 0 / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002789/0.1173, allocations: 142.3 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1174, allocations: 10.5 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1174, allocations: 3.984 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.1175, allocations: 28.84 kB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.1176, allocations: 19.92 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1191, allocations: 1.518 MB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.1192, allocations: 8.062 kB / 359.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1192, allocations: 8 kB / 359.5 MB, free: 11.32 MB / 302.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 9.282e-05/0.1193, allocations: 113.8 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1193, allocations: 11.91 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.1194, allocations: 20.64 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1194, allocations: 0 / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1194, allocations: 0 / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1194, allocations: 4 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.1196, allocations: 213.5 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1196, allocations: 0 / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.1197, allocations: 4 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.1198, allocations: 36.83 kB / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1198, allocations: 3.938 kB / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.121, allocations: 1.51 MB / 361.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1211, allocations: 192 / 361.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1214, allocations: 224.2 kB / 361.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1214, allocations: 88.89 kB / 361.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1214, allocations: 3.938 kB / 361.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1215, allocations: 15.98 kB / 361.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1216, allocations: 7.938 kB / 361.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1216, allocations: 7.984 kB / 361.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.1217, allocations: 107.3 kB / 361.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1217, allocations: 0 / 361.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.122, allocations: 43.84 kB / 361.9 MB, free: 8.684 MB / 302.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.0005832/0.1226, allocations: 0.7588 MB / 362.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.123, allocations: 178.7 kB / 362.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.123, allocations: 4 kB / 362.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.1233, allocations: 166.6 kB / 363 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1235, allocations: 8 kB / 363 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1255, allocations: 1.782 MB / 364.8 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1258, allocations: 0.7083 MB / 365.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.1258, allocations: 8.422 kB / 365.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.1259, allocations: 31.42 kB / 365.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1259, allocations: 0 / 365.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1405, allocations: 2.622 MB / 368.2 MB, free: 2.387 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.1408, allocations: 225.4 kB / 368.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.015, allocations: 3.938 kB / 368.4 MB, free: 2.129 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches