Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001318/0.001318, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001498/0.001498, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09231, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001555/0.09387, allocations: 0.4995 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.09568, allocations: 1.452 MB / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.0957, allocations: 0 / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.09572, allocations: 3.938 kB / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.09575, allocations: 0 / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.09634, allocations: 187.2 kB / 428.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.09639, allocations: 15.98 kB / 428.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.09643, allocations: 0 / 428.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.09647, allocations: 19.92 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.09652, allocations: 11.92 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.09653, allocations: 0 / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.09681, allocations: 167.8 kB / 428.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.09682, allocations: 8 kB / 428.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.09684, allocations: 11.92 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.09705, allocations: 123.7 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09705, allocations: 0 / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09705, allocations: 0 / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.09706, allocations: 3.938 kB / 428.8 MB, free: 2.285 MB / 350.1 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.000372/0.09743, allocations: 351.3 kB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.09746, allocations: 8.031 kB / 429.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.0975, allocations: 30.75 kB / 429.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.09762, allocations: 4.938 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.09774, allocations: 164.4 kB / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.09775, allocations: 4.375 kB / 429.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.09776, allocations: 7.938 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.09785, allocations: 37.69 kB / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.09786, allocations: 0 / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.09787, allocations: 0 / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.09787, allocations: 0 / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.09789, allocations: 4 kB / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.09832, allocations: 488.9 kB / 429.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.0984, allocations: 165.1 kB / 430 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.09844, allocations: 80.14 kB / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.09847, allocations: 75.28 kB / 430.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.09852, allocations: 109.8 kB / 430.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.09852, allocations: 8 kB / 430.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.931e-05/0.09859, allocations: 33.59 kB / 430.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.09867, allocations: 152.4 kB / 430.5 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.09878, allocations: 109.8 kB / 430.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.0988, allocations: 25.7 kB / 430.6 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.09885, allocations: 84.14 kB / 430.7 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.09885, allocations: 0 / 430.7 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.09889, allocations: 17.7 kB / 430.7 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.09903, allocations: 322.8 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.09904, allocations: 7.938 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.09906, allocations: 7.984 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.09909, allocations: 4.859 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.09909, allocations: 0 / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/0.09919, allocations: 41.59 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.09921, allocations: 8 kB / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.09921, allocations: 4.062 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.09922, allocations: 4 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.09926, allocations: 0 / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.09927, allocations: 3.984 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.0993, allocations: 4 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.09931, allocations: 3.984 kB / 431.1 MB, free: 15.7 MB / 366.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 (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 0.0001138/0.09943, allocations: 189.1 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.09949, allocations: 108.9 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.09955, allocations: 112.5 kB / 431.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/0.09962, allocations: 180.3 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/0.0997, allocations: 188.2 kB / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-05/0.09977, allocations: 180.3 kB / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1, allocations: 409.1 kB / 432.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.14e-05/0.1001, allocations: 105 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1001, allocations: 105 kB / 432.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.1002, allocations: 188.2 kB / 432.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.1003, allocations: 176.5 kB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-05/0.1003, allocations: 184.2 kB / 433.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.05e-05/0.1004, allocations: 180.3 kB / 433.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1006, allocations: 311.7 kB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1006, allocations: 186.1 kB / 433.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.1007, allocations: 180.2 kB / 434 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.1008, allocations: 101 kB / 434.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.1009, allocations: 188.3 kB / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.1009, allocations: 104.9 kB / 434.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.101, allocations: 91.27 kB / 434.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.101, allocations: 0 / 434.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1013, allocations: 39.88 kB / 434.5 MB, free: 12.04 MB / 366.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 (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.0006907/0.102, allocations: 0.8686 MB / 435.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.95e-05/0.1021, allocations: 15.88 kB / 435.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1021, allocations: 0 / 435.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.1021, allocations: 0 / 435.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1024, allocations: 463.7 kB / 435.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.1028, allocations: 197.9 kB / 436.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1031, allocations: 0.6768 MB / 436.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.456e-05/0.1032, allocations: 11.98 kB / 436.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1032, allocations: 7.438 kB / 436.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1032, allocations: 0 / 436.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.127, allocations: 1.887 MB / 438.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.636, allocations: 11.55 kB / 438.7 MB, free: 7.941 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.027626803144813]