Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 104 kB / 17.59 MB, free: 5.555 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.001081/0.001081, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.306/1.306, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 50.98 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.0919, allocations: 49.44 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002832/0.09477, allocations: 1.507 MB / 352.2 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.09568, allocations: 0.4961 MB / 352.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.09575, allocations: 0 / 352.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.09588, allocations: 19.92 kB / 352.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.09598, allocations: 7.875 kB / 352.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.09615, allocations: 39.91 kB / 352.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.09625, allocations: 55.84 kB / 352.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.09638, allocations: 19.92 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.09651, allocations: 31.91 kB / 352.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.09658, allocations: 31.91 kB / 352.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.09661, allocations: 8 kB / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.09669, allocations: 12 kB / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.09671, allocations: 19.86 kB / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.09676, allocations: 27.86 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.09692, allocations: 71.78 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09693, allocations: 0 / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09694, allocations: 0 / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.09695, allocations: 0 / 353.1 MB, free: 2.074 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000669/0.09763, allocations: 382.1 kB / 353.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.09767, allocations: 8.031 kB / 353.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.09772, allocations: 8.844 kB / 353.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.09784, allocations: 172.3 kB / 353.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.09787, allocations: 12.31 kB / 353.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.09789, allocations: 4.375 kB / 353.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.09818, allocations: 89.89 kB / 353.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.0982, allocations: 0 / 353.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.09822, allocations: 0 / 353.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.09823, allocations: 0 / 353.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.09855, allocations: 79.92 kB / 353.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.09899, allocations: 316.6 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.09925, allocations: 74.53 kB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.09942, allocations: 44.95 kB / 354.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.09945, allocations: 0 / 354.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.09948, allocations: 34.59 kB / 354.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.09948, allocations: 0 / 354.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005595/0.1, allocations: 153.5 kB / 354.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1001, allocations: 55.41 kB / 354.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.1002, allocations: 109.8 kB / 354.6 MB, free: 384 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1002, allocations: 25.7 kB / 354.6 MB, free: 352 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.1003, allocations: 96.06 kB / 354.7 MB, free: 252 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1003, allocations: 15.72 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1003, allocations: 21.7 kB / 354.7 MB, free: 208 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1005, allocations: 322.8 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1006, allocations: 39.89 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1008, allocations: 44.16 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1011, allocations: 84.78 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1011, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003398/0.1014, allocations: 105.6 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1015, allocations: 4 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1015, allocations: 0 / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1015, allocations: 0 / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1016, allocations: 23.97 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1016, allocations: 4 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.1017, allocations: 16.3 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1018, allocations: 11.92 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.1018, allocations: 117.8 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1019, allocations: 7.906 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1023, allocations: 141.5 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1023, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1023, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1023, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1025, allocations: 189.6 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1025, allocations: 0 / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1026, allocations: 23.92 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1026, allocations: 4 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1027, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1027, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1027, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.1031, allocations: 227.3 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1031, allocations: 85.02 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1031, allocations: 4.188 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1033, allocations: 15.97 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1033, allocations: 8 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1033, allocations: 0 / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.1034, allocations: 91.27 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1034, allocations: 0 / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1036, allocations: 15.94 kB / 356.3 MB, free: 14.53 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.1038, allocations: 107.7 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.1041, allocations: 87.91 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1041, allocations: 3.938 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1043, allocations: 51.91 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1047, allocations: 11.98 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.105, allocations: 187.7 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1053, allocations: 0.6885 MB / 357.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1053, allocations: 15.42 kB / 357.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1053, allocations: 0 / 357.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Templates: time 0.002464/0.1078, allocations: 0.97 MB / 358.4 MB, free: 12.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches