Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003541/0.003541, allocations: 166.2 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8672/0.8672, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.685e-05, allocations: 6.219 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.004261/0.004288, allocations: 2.125 MB / 300.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.005683, allocations: 0.73 MB / 301.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.005722, allocations: 0 / 301.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.005837, allocations: 4 kB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.005968, allocations: 11.92 kB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.006731, allocations: 207.4 kB / 301.5 MB, free: 436 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.006853, allocations: 16 kB / 301.5 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.006906, allocations: 11.92 kB / 301.5 MB, free: 408 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.006972, allocations: 7.938 kB / 301.5 MB, free: 400 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.007051, allocations: 19.97 kB / 301.6 MB, free: 380 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.007068, allocations: 0 / 301.6 MB, free: 380 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.007315, allocations: 171.7 kB / 301.7 MB, free: 208 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.007326, allocations: 0 / 301.7 MB, free: 208 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.007347, allocations: 11.98 kB / 301.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.007591, allocations: 163.5 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.007596, allocations: 0 / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.007598, allocations: 4 kB / 301.9 MB, free: 28 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007603, allocations: 0 / 301.9 MB, free: 28 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.1348/0.1424, allocations: 273 kB / 302.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1425, allocations: 14.89 kB / 302.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.221e-05/0.1425, allocations: 33.19 kB / 302.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1425, allocations: 0.9375 kB / 302.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.829e-05/0.1426, allocations: 116.7 kB / 302.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1426, allocations: 384 / 302.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.1426, allocations: 0.9375 kB / 302.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.1427, allocations: 61.53 kB / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.1427, allocations: 192 / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1427, allocations: 2.625 kB / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1427, allocations: 3.938 kB / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/0.1427, allocations: 12.23 kB / 302.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.143, allocations: 361 kB / 302.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.143, allocations: 170.7 kB / 302.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.029e-05/0.143, allocations: 84.48 kB / 303 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.143, allocations: 75.91 kB / 303.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.143, allocations: 116.1 kB / 303.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.143, allocations: 0 / 303.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.205e-05/0.1431, allocations: 32.34 kB / 303.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1431, allocations: 153 kB / 303.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.1432, allocations: 123.2 kB / 303.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.1432, allocations: 28.22 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1432, allocations: 89.92 kB / 303.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.1432, allocations: 0 / 303.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1433, allocations: 16.2 kB / 303.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.608e-05/0.1433, allocations: 316.6 kB / 303.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1433, allocations: 6.141 kB / 303.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.1433, allocations: 33.61 kB / 304 MB, free: 13.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.1433, allocations: 11.28 kB / 304 MB, free: 13.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1433, allocations: 1.406 kB / 304 MB, free: 13.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.622e-05/0.1434, allocations: 46.72 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1434, allocations: 6.219 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1434, allocations: 0 / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1435, allocations: 1.031 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.1435, allocations: 3.016 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1435, allocations: 0.625 kB / 304 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.1436, allocations: 4.609 kB / 304.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1436, allocations: 6.438 kB / 304.1 MB, free: 13.68 MB / 282.7 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 (1): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.1436, allocations: 191 kB / 304.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1436, allocations: 107.9 kB / 304.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.1437, allocations: 111.1 kB / 304.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.1437, allocations: 178.8 kB / 304.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.1437, allocations: 185.1 kB / 304.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.1437, allocations: 179.3 kB / 305 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.834e-05/0.1438, allocations: 378.4 kB / 305.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.1438, allocations: 103.6 kB / 305.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.1438, allocations: 106.1 kB / 305.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.1438, allocations: 183.6 kB / 305.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1438, allocations: 182.5 kB / 305.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.1438, allocations: 182.8 kB / 306.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.1439, allocations: 183.6 kB / 306.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.927e-05/0.1439, allocations: 309.1 kB / 306.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.1439, allocations: 115.2 kB / 306.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1439, allocations: 180 kB / 306.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.144, allocations: 106 kB / 307 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.144, allocations: 187.3 kB / 307.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.144, allocations: 106.1 kB / 307.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.1441, allocations: 93.33 kB / 307.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1441, allocations: 0 / 307.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.1443, allocations: 46.75 kB / 307.4 MB, free: 10.3 MB / 282.7 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 (0): * Single equations (assignments): 0 * 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.0005337/0.1448, allocations: 0.9142 MB / 308.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.1449, allocations: 8.312 kB / 308.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1449, allocations: 0 / 308.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.1449, allocations: 6.031 kB / 308.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.145, allocations: 455 kB / 308.8 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.1456, allocations: 1.363 MB / 310.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.1456, allocations: 58.7 kB / 310.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.1457, allocations: 7.203 kB / 310.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.1457, allocations: 10.95 kB / 310.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1457, allocations: 1.031 kB / 310.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.1635, allocations: 2.77 MB / 313 MB, free: 6.445 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.737, allocations: 5.297 kB / 313 MB, free: 6.441 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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: 8.278269310481846]