Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",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.00153/0.001529, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001559/0.001559, allocations: 192 kB / 18.51 MB, free: 4.508 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.398/1.398, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001298/0.001298, allocations: 59.91 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004029/0.1226, allocations: 2.47 MB / 329.8 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1239, allocations: 0.6749 MB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.124, allocations: 4 kB / 330.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1242, allocations: 39.64 kB / 330.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1243, allocations: 67.34 kB / 330.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1247, allocations: 79.84 kB / 330.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.125, allocations: 270.8 kB / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1252, allocations: 76.36 kB / 331 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1254, allocations: 119.5 kB / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1256, allocations: 115.5 kB / 331.3 MB, free: 460 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1257, allocations: 24 kB / 331.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1258, allocations: 35.98 kB / 331.3 MB, free: 400 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.1258, allocations: 51.83 kB / 331.4 MB, free: 348 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.126, allocations: 115.4 kB / 331.5 MB, free: 232 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.1264, allocations: 279.3 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1264, allocations: 3.938 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1265, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1265, allocations: 4 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000933/0.1274, allocations: 0.5224 MB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1275, allocations: 12.03 kB / 332.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.1275, allocations: 50.73 kB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.1276, allocations: 36.56 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1279, allocations: 224.7 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1279, allocations: 20.81 kB / 332.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.128, allocations: 28.12 kB / 332.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1283, allocations: 187.3 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1284, allocations: 0 / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1284, allocations: 12 kB / 332.9 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1284, allocations: 4 kB / 332.9 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.1287, allocations: 153.5 kB / 333 MB, free: 14.61 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1301, allocations: 0.9373 MB / 334 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1304, allocations: 154.6 kB / 334.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.1307, allocations: 96.77 kB / 334.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1307, allocations: 4 kB / 334.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1307, allocations: 38.56 kB / 334.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1308, allocations: 3.938 kB / 334.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001353/0.1321, allocations: 414.6 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1322, allocations: 51.41 kB / 334.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1324, allocations: 178.4 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1324, allocations: 29.7 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1325, allocations: 148 kB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.1326, allocations: 55.19 kB / 335.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.1326, allocations: 37.7 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1328, allocations: 334.8 kB / 335.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1329, allocations: 47.98 kB / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.133, allocations: 73.69 kB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1333, allocations: 133.5 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1333, allocations: 0 / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003897/0.1337, allocations: 218.2 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1337, allocations: 7.938 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1337, allocations: 4 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.1351, allocations: 216.6 kB / 336.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1352, allocations: 27.98 kB / 336.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/0.1357, allocations: 0.607 MB / 336.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1359, allocations: 11.94 kB / 336.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1359, allocations: 7.984 kB / 336.8 MB, free: 10.57 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.136, allocations: 133.7 kB / 336.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.1361, allocations: 19.81 kB / 337 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.1365, allocations: 232.3 kB / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1365, allocations: 0 / 337.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.1365, allocations: 7.984 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1366, allocations: 3.938 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.1374, allocations: 0.5896 MB / 337.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1374, allocations: 0 / 337.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1376, allocations: 35.95 kB / 337.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.1386, allocations: 204.6 kB / 338 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1387, allocations: 0 / 338 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005305/0.1392, allocations: 0.6264 MB / 338.6 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1392, allocations: 0 / 338.6 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.1401, allocations: 436.7 kB / 339.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.1401, allocations: 100.9 kB / 339.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1402, allocations: 0 / 339.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1403, allocations: 8 kB / 339.2 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1404, allocations: 15.97 kB / 339.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1404, allocations: 8 kB / 339.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1405, allocations: 128.2 kB / 339.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 0 / 339.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1408, allocations: 55.84 kB / 339.4 MB, free: 7.836 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.142, allocations: 0.9637 MB / 340.3 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004324/0.1424, allocations: 156.4 kB / 340.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1424, allocations: 0 / 340.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1426, allocations: 95.84 kB / 340.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.143, allocations: 31.3 kB / 340.6 MB, free: 6.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.1461, allocations: 2.286 MB / 342.9 MB, free: 4.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1464, allocations: 0.7436 MB / 343.6 MB, free: 3.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.1465, allocations: 17.53 kB / 343.7 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.1466, allocations: 59.42 kB / 343.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1466, allocations: 0 / 343.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.1688, allocations: 4.593 MB / 348.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.44, allocations: 11.69 kB / 348.3 MB, free: 14.67 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches