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.001917/0.001917, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002249/0.002249, allocations: 207.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001947/0.001947, allocations: 67.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2407, allocations: 53.39 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001619/0.2423, allocations: 0.5042 MB / 431.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.2442, allocations: 1.404 MB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.2443, allocations: 0 / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.2443, allocations: 0 / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.158e-05/0.2443, allocations: 3.938 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.2449, allocations: 191.7 kB / 433.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.245, allocations: 19.92 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.245, allocations: 4 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.2451, allocations: 7.984 kB / 433.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.2451, allocations: 15.92 kB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2451, allocations: 0 / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.2454, allocations: 163.3 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.2454, allocations: 8 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.2454, allocations: 4 kB / 433.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2457, allocations: 127.6 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2457, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2457, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2457, allocations: 0 / 433.6 MB, free: 4.039 MB / 334.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.0003493/0.246, allocations: 278.2 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2461, allocations: 11.98 kB / 433.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.2461, allocations: 30.75 kB / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.2462, allocations: 8.922 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2463, allocations: 102.5 kB / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2463, allocations: 16.31 kB / 434 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2464, allocations: 3.938 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2465, allocations: 59.34 kB / 434.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2465, allocations: 0 / 434.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2465, allocations: 3.984 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2465, allocations: 0 / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.2465, allocations: 8 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.2469, allocations: 367 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.247, allocations: 173.1 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.2471, allocations: 84.08 kB / 434.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.2471, allocations: 79.28 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.2472, allocations: 109.8 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2472, allocations: 0 / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.024e-05/0.2472, allocations: 29.7 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.2473, allocations: 156.3 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2474, allocations: 109.8 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2474, allocations: 25.7 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.2475, allocations: 92.06 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.2475, allocations: 3.984 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.2475, allocations: 13.72 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2477, allocations: 326.8 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.2477, allocations: 0 / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.2477, allocations: 33.69 kB / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.2478, allocations: 8.859 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2478, allocations: 0 / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001238/0.2479, allocations: 37.59 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2479, allocations: 8 kB / 435.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2479, allocations: 0 / 435.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2479, allocations: 0 / 435.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.343e-05/0.248, allocations: 4.125 kB / 435.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.248, allocations: 4 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.248, allocations: 0 / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.248, allocations: 3.984 kB / 435.7 MB, free: 1.676 MB / 334.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.0001229/0.2482, allocations: 193.1 kB / 435.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.2482, allocations: 101 kB / 436 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.2483, allocations: 112.4 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.2484, allocations: 180.2 kB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.744e-05/0.2485, allocations: 180.3 kB / 436.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/0.2485, allocations: 188.1 kB / 436.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.2488, allocations: 380.2 kB / 437 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/0.2489, allocations: 112.9 kB / 437.1 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.2489, allocations: 101 kB / 437.2 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.249, allocations: 180.3 kB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.2491, allocations: 184.5 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.029e-05/0.2492, allocations: 188.4 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.792e-05/0.2493, allocations: 184.2 kB / 437.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.2495, allocations: 307.7 kB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2495, allocations: 105 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.2496, allocations: 180.2 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2497, allocations: 112.9 kB / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.2498, allocations: 180.3 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.2499, allocations: 108.9 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.2499, allocations: 91.27 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2499, allocations: 0 / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.2502, allocations: 39.88 kB / 439 MB, free: 14.14 MB / 350.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.0007084/0.2509, allocations: 0.8614 MB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.043e-05/0.251, allocations: 4 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.251, allocations: 4.062 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.251, allocations: 7.938 kB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2514, allocations: 454.4 kB / 440.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.2518, allocations: 209.8 kB / 440.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.2519, allocations: 63.28 kB / 440.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.252, allocations: 11.98 kB / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.252, allocations: 7.438 kB / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.252, allocations: 0 / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.2823, allocations: 2.409 MB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.38, allocations: 3.859 kB / 443.1 MB, free: 10.14 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.867422490846366]