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.001609/0.001609, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.001531/0.001531, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.00188/0.00188, allocations: 67.89 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2435, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001639/0.2451, allocations: 0.5045 MB / 431.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2472, allocations: 1.47 MB / 433.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.2472, allocations: 4 kB / 433.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.2473, allocations: 0 / 433.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.2473, allocations: 3.938 kB / 433.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.248, allocations: 175.2 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.248, allocations: 15.92 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.2481, allocations: 4 kB / 433.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.2481, allocations: 11.94 kB / 433.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.2482, allocations: 15.97 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2482, allocations: 0 / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2485, allocations: 171.8 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.2485, allocations: 11.88 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.2485, allocations: 4 kB / 433.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2488, allocations: 124.1 kB / 433.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2488, allocations: 0 / 433.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2488, allocations: 4 kB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2488, allocations: 0 / 433.7 MB, free: 4.18 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.000381/0.2492, allocations: 278.2 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2492, allocations: 8.031 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2492, allocations: 30.75 kB / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.2494, allocations: 8.922 kB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2495, allocations: 114.5 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.2495, allocations: 384 / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2495, allocations: 3.938 kB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.2496, allocations: 29.7 kB / 434.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2496, allocations: 0 / 434.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.2496, allocations: 4 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2496, allocations: 3.984 kB / 434.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.2496, allocations: 4 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.2501, allocations: 367 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.2502, allocations: 169.1 kB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.2502, allocations: 88.08 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.2502, allocations: 75.28 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.2503, allocations: 109.8 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2503, allocations: 0 / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.397e-05/0.2504, allocations: 37.58 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.2505, allocations: 152.4 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2506, allocations: 118 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2506, allocations: 25.7 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.2507, allocations: 88.06 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.2507, allocations: 0 / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.2507, allocations: 17.72 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2508, allocations: 322.8 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.2509, allocations: 0 / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2509, allocations: 8.062 kB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.2509, allocations: 8.953 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2509, allocations: 4 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.251, allocations: 41.59 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.251, allocations: 8 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.251, allocations: 0 / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.251, allocations: 0 / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.2511, allocations: 11.97 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2511, allocations: 0 / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.2511, allocations: 3.938 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2511, allocations: 0 / 435.8 MB, free: 1.879 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.0001203/0.2512, allocations: 193.1 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.2513, allocations: 101 kB / 436.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.2514, allocations: 120.4 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.627e-05/0.2515, allocations: 176.3 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.249e-05/0.2515, allocations: 180.2 kB / 436.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.62e-05/0.2516, allocations: 180.3 kB / 436.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.2519, allocations: 380.2 kB / 437.1 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/0.2519, allocations: 104.9 kB / 437.2 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.252, allocations: 105 kB / 437.3 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.903e-05/0.252, allocations: 184.2 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.2521, allocations: 184.3 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.477e-05/0.2522, allocations: 180.5 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.019e-05/0.2523, allocations: 192.2 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.2524, allocations: 311.7 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.2525, allocations: 101 kB / 438.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.2526, allocations: 184.3 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2527, allocations: 104.9 kB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2528, allocations: 180.2 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.2528, allocations: 104.9 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.2529, allocations: 91.28 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2529, allocations: 0 / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.2532, allocations: 47.86 kB / 439.1 MB, free: 14.34 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.0007032/0.2539, allocations: 0.8681 MB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.1e-05/0.254, allocations: 7.938 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.254, allocations: 4.062 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.254, allocations: 0 / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.2544, allocations: 463.7 kB / 440.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.2547, allocations: 201.8 kB / 440.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.255, allocations: 0.6729 MB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2551, allocations: 15.98 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.2552, allocations: 15.42 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2552, allocations: 0 / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.2827, allocations: 1.983 MB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.11, allocations: 3.859 kB / 443.3 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.46771509500104]