Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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 3.2.3+maint.om/package.mo", uses=false) 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.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",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.001472/0.001472, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001365/0.001366, allocations: 187 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB 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.001497/0.001497, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004315/0.1312, allocations: 2.131 MB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1325, allocations: 0.4995 MB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.1327, allocations: 4 kB / 377.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1329, allocations: 19.78 kB / 377.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1331, allocations: 55.61 kB / 377.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.1335, allocations: 39.83 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1338, allocations: 155.3 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.134, allocations: 61.42 kB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1341, allocations: 59.73 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1343, allocations: 59.77 kB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.1343, allocations: 12 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.1344, allocations: 20 kB / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1345, allocations: 35.84 kB / 377.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1346, allocations: 79.59 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1349, allocations: 163.7 kB / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1349, allocations: 0 / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1349, allocations: 0 / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1349, allocations: 0 / 378 MB, free: 1.672 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006802/0.1356, allocations: 435.1 kB / 378.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1357, allocations: 16.02 kB / 378.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.1358, allocations: 46.75 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1359, allocations: 12.84 kB / 378.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.1363, allocations: 204 kB / 378.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1364, allocations: 8.609 kB / 378.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1364, allocations: 12.38 kB / 378.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1367, allocations: 123.6 kB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1367, allocations: 0 / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1367, allocations: 7.938 kB / 378.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1367, allocations: 4 kB / 378.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1369, allocations: 80.66 kB / 378.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2535/0.3904, allocations: 0.5971 MB / 379.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.3909, allocations: 81.41 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.391, allocations: 32.45 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.391, allocations: 3.531 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.3911, allocations: 32.73 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 6.712e-06/0.3911, allocations: 0 / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008243/0.392, allocations: 259 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.392, allocations: 53.27 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3921, allocations: 147.4 kB / 380.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3922, allocations: 28.95 kB / 380.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3922, allocations: 124.4 kB / 380.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3923, allocations: 24.22 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.3923, allocations: 21.56 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.3924, allocations: 324.8 kB / 380.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.3925, allocations: 22.28 kB / 380.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.68e-05/0.3925, allocations: 46.05 kB / 380.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3927, allocations: 71.55 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3927, allocations: 0 / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002917/0.393, allocations: 136.4 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.393, allocations: 4.938 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.393, allocations: 3.438 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.3932, allocations: 40.28 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.3933, allocations: 8.281 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.3949, allocations: 1.689 MB / 382.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.395, allocations: 16.12 kB / 382.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.395, allocations: 3.594 kB / 382.7 MB, free: 10.53 MB / 318.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.000121/0.3951, allocations: 134.5 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.3952, allocations: 9.562 kB / 382.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.3952, allocations: 15.69 kB / 382.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3952, allocations: 1.375 kB / 382.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3952, allocations: 0 / 382.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3952, allocations: 1.781 kB / 382.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3955, allocations: 212.2 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3955, allocations: 3.828 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.3955, allocations: 5.062 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.3957, allocations: 42.77 kB / 383.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3957, allocations: 1.375 kB / 383.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.3968, allocations: 1.677 MB / 384.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3968, allocations: 0.5 kB / 384.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.3973, allocations: 216.2 kB / 385 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.3973, allocations: 87.83 kB / 385.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3973, allocations: 4.172 kB / 385.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3974, allocations: 11.97 kB / 385.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3975, allocations: 6.484 kB / 385.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.3975, allocations: 5.844 kB / 385.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.3976, allocations: 110.6 kB / 385.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3976, allocations: 3.938 kB / 385.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.398, allocations: 34.69 kB / 385.3 MB, free: 8.367 MB / 318.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.0005439/0.3986, allocations: 0.7468 MB / 386 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.3991, allocations: 189.1 kB / 386.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3991, allocations: 0.6562 kB / 386.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3994, allocations: 166.1 kB / 386.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3997, allocations: 15.97 kB / 386.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.4019, allocations: 1.714 MB / 388.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.4021, allocations: 0.7144 MB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.928e-05/0.4021, allocations: 5.078 kB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.4022, allocations: 29.22 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4022, allocations: 0 / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4287, allocations: 3.103 MB / 391.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.48, allocations: 16.8 kB / 391.9 MB, free: 4.555 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches