Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 184.1 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 44.02 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2212, allocations: 52.18 MB / 422.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001589/0.2228, allocations: 0.5077 MB / 423.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2246, allocations: 1.337 MB / 424.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.2246, allocations: 0 / 424.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.2246, allocations: 3.938 kB / 424.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.134e-05/0.2246, allocations: 0 / 424.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.2253, allocations: 180.3 kB / 424.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.2253, allocations: 15.92 kB / 424.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2254, allocations: 8 kB / 424.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.2254, allocations: 8 kB / 424.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.2254, allocations: 11.92 kB / 424.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2255, allocations: 7.938 kB / 424.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.2257, allocations: 147.8 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.2257, allocations: 7.984 kB / 424.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.2258, allocations: 4 kB / 424.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.226, allocations: 123.6 kB / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.226, allocations: 0 / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.226, allocations: 0 / 424.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.226, allocations: 0 / 424.9 MB, free: 12.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.0003395/0.2263, allocations: 278.1 kB / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2264, allocations: 12.03 kB / 425.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.2264, allocations: 30.75 kB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.2264, allocations: 4.891 kB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2265, allocations: 110.5 kB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2265, allocations: 4.375 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2265, allocations: 3.938 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2267, allocations: 59.39 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.2267, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2267, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.2267, allocations: 0 / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.2267, allocations: 7.938 kB / 425.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.2271, allocations: 370.9 kB / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2272, allocations: 169.2 kB / 425.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.2272, allocations: 84.14 kB / 426 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.2273, allocations: 79.28 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.2273, allocations: 109.8 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2273, allocations: 0 / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.457e-05/0.2274, allocations: 37.61 kB / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.2275, allocations: 152.4 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2276, allocations: 117.8 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2276, allocations: 25.7 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.2277, allocations: 84.09 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2277, allocations: 4 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2277, allocations: 17.72 kB / 426.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2279, allocations: 318.8 kB / 426.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.2279, allocations: 4 kB / 426.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.2279, allocations: 29.7 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.2279, allocations: 8.859 kB / 427 MB, free: 9.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2279, allocations: 0 / 427 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.228, allocations: 41.64 kB / 427 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.228, allocations: 4 kB / 427 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.228, allocations: 0 / 427 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2281, allocations: 0 / 427 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.2281, allocations: 7.984 kB / 427 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2281, allocations: 4.125 kB / 427 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.2282, allocations: 0 / 427 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2282, allocations: 4 kB / 427 MB, free: 9.828 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.0001157/0.2283, allocations: 189 kB / 427.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.2284, allocations: 112.9 kB / 427.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.2284, allocations: 112.4 kB / 427.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-05/0.2285, allocations: 180.3 kB / 427.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.454e-05/0.2286, allocations: 180.2 kB / 427.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-05/0.2287, allocations: 176.3 kB / 428 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.2289, allocations: 384.2 kB / 428.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.101e-05/0.229, allocations: 109 kB / 428.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.229, allocations: 101 kB / 428.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.2291, allocations: 184.1 kB / 428.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.2292, allocations: 184.2 kB / 428.9 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.237e-05/0.2293, allocations: 184.2 kB / 429.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.509e-05/0.2294, allocations: 176.5 kB / 429.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2295, allocations: 319.7 kB / 429.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.2296, allocations: 105 kB / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.2297, allocations: 184.2 kB / 429.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2298, allocations: 101 kB / 430 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.2299, allocations: 176.3 kB / 430.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.2299, allocations: 112.9 kB / 430.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.989e-05/0.23, allocations: 91.52 kB / 430.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.23, allocations: 0 / 430.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000282/0.2303, allocations: 47.81 kB / 430.4 MB, free: 6.289 MB / 334.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.0007845/0.2311, allocations: 0.8871 MB / 431.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.2311, allocations: 3.938 kB / 431.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2311, allocations: 0 / 431.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2311, allocations: 4 kB / 431.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2315, allocations: 455.7 kB / 431.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.2319, allocations: 213.8 kB / 431.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.851e-05/0.232, allocations: 63.2 kB / 432 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2321, allocations: 11.98 kB / 432 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2321, allocations: 15.5 kB / 432 MB, free: 4.578 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2321, allocations: 0 / 432 MB, free: 4.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.2603, allocations: 2.335 MB / 434.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.26, allocations: 6.688 kB / 434.4 MB, free: 2.379 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.679841917008162]