Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008213/0.0008213, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008327/0.0008327, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8961/0.8961, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.547e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001495/0.00152, allocations: 0.5133 MB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002898, allocations: 1.408 MB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.002922, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.002939, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.002964, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.003555, allocations: 179 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.003612, allocations: 19.94 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.00366, allocations: 15.91 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.003715, allocations: 4 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.003773, allocations: 11.92 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003794, allocations: 4 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.004016, allocations: 155.8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.004031, allocations: 3.984 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.004051, allocations: 7.984 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.004274, allocations: 155.6 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004278, allocations: 0 / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.004279, allocations: 0 / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004284, allocations: 4 kB / 327 MB, free: 13.42 MB / 298.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.0003301/0.004614, allocations: 282.1 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.004654, allocations: 11.98 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.004682, allocations: 34.75 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.004798, allocations: 4.922 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.004873, allocations: 105.8 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004883, allocations: 384 / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.00489, allocations: 384 / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.00499, allocations: 63.7 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004996, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.005006, allocations: 8 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.00501, allocations: 0 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.005029, allocations: 0 / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.005382, allocations: 378.9 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.005445, allocations: 169.1 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.00547, allocations: 80.14 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.005489, allocations: 75.28 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.00553, allocations: 113.8 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.005531, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.196e-05/0.005593, allocations: 33.64 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.005647, allocations: 156.4 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.005737, allocations: 113.8 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005749, allocations: 29.64 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.005793, allocations: 88.08 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.005796, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.005824, allocations: 17.72 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.005898, allocations: 314.8 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.005907, allocations: 0 / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.00593, allocations: 29.7 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.005957, allocations: 16.8 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005958, allocations: 4.094 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.264e-05/0.006051, allocations: 41.59 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006064, allocations: 4 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.00607, allocations: 3.984 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006081, allocations: 0 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.006135, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.00614, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.006166, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.006175, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.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 7.932e-05/0.006254, allocations: 189.1 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.006294, allocations: 109 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.006329, allocations: 116.2 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.006366, allocations: 176.3 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.151e-05/0.006408, allocations: 184.2 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/0.006447, allocations: 176.3 kB / 330 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.006587, allocations: 384.4 kB / 330.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.006612, allocations: 108.9 kB / 330.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.006637, allocations: 105 kB / 330.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.019e-05/0.006677, allocations: 184.2 kB / 330.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.006719, allocations: 180.2 kB / 331 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.911e-05/0.006758, allocations: 184.3 kB / 331.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.813e-05/0.006796, allocations: 180.2 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.006897, allocations: 311.7 kB / 331.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.006925, allocations: 105 kB / 331.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.006974, allocations: 180.2 kB / 331.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.007033, allocations: 105 kB / 332 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.007075, allocations: 176.3 kB / 332.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.007099, allocations: 108.9 kB / 332.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.007141, allocations: 91.53 kB / 332.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007142, allocations: 3.938 kB / 332.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.007345, allocations: 43.92 kB / 332.4 MB, free: 7.531 MB / 298.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.0005064/0.007851, allocations: 0.896 MB / 333.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.007922, allocations: 7.938 kB / 333.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007924, allocations: 0 / 333.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.007925, allocations: 0 / 333.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.008182, allocations: 463.7 kB / 333.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.008489, allocations: 209.6 kB / 334 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.00853, allocations: 63.41 kB / 334 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.008643, allocations: 7.984 kB / 334.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.008676, allocations: 20.48 kB / 334.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008677, allocations: 0 / 334.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02633, allocations: 2.538 MB / 336.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.507, allocations: 3.938 kB / 336.6 MB, free: 3.336 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.18461836129427]