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.001883/0.001883, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002291/0.002291, allocations: 206 kB / 23.72 MB, free: 4.492 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.001915/0.001915, allocations: 67.89 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2533, allocations: 53.42 MB / 431.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001669/0.255, allocations: 0.4889 MB / 431.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.257, allocations: 1.408 MB / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.257, allocations: 0 / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.257, allocations: 0 / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.2571, allocations: 7.875 kB / 433 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.2577, allocations: 184.5 kB / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.2578, allocations: 15.92 kB / 433.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2578, allocations: 0 / 433.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.2579, allocations: 12 kB / 433.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.258, allocations: 15.91 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.258, allocations: 0 / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.2583, allocations: 163.8 kB / 433.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.2583, allocations: 0 / 433.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.2584, allocations: 4 kB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2586, allocations: 131.6 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2586, allocations: 0 / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2586, allocations: 0 / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2586, allocations: 0 / 433.6 MB, free: 3.988 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.0003679/0.259, allocations: 274.2 kB / 433.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.259, allocations: 15.98 kB / 433.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2591, allocations: 34.75 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.2592, allocations: 4.938 kB / 433.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2593, allocations: 106.5 kB / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2593, allocations: 8.25 kB / 434 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.2593, allocations: 11.94 kB / 434 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2594, allocations: 59.41 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2594, allocations: 0 / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2594, allocations: 0 / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2594, allocations: 0 / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.2595, allocations: 3.938 kB / 434.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.2599, allocations: 378.9 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.26, allocations: 173.1 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.26, allocations: 80.14 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.26, allocations: 79.28 kB / 434.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.2601, allocations: 109.8 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2601, allocations: 0 / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.669e-05/0.2602, allocations: 25.7 kB / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.2603, allocations: 160.3 kB / 435 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2604, allocations: 109.8 kB / 435.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2604, allocations: 25.7 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.2604, allocations: 88.08 kB / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2604, allocations: 0 / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.2605, allocations: 21.7 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2606, allocations: 314.8 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.2606, allocations: 4 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.2607, allocations: 33.7 kB / 435.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.2607, allocations: 8.844 kB / 435.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2607, allocations: 0 / 435.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001098/0.2608, allocations: 41.66 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2608, allocations: 7.938 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2608, allocations: 4 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2608, allocations: 0 / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.2609, allocations: 0 / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2609, allocations: 0 / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.2609, allocations: 8.125 kB / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2609, allocations: 3.984 kB / 435.7 MB, free: 1.621 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.0001162/0.2611, allocations: 189.1 kB / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.2611, allocations: 105 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.2612, allocations: 108.4 kB / 436.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.876e-05/0.2613, allocations: 188.2 kB / 436.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-05/0.2614, allocations: 180.2 kB / 436.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.923e-05/0.2614, allocations: 184.2 kB / 436.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.2617, allocations: 376.5 kB / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-05/0.2617, allocations: 112.9 kB / 437.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.2618, allocations: 105 kB / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.19e-05/0.2619, allocations: 176.3 kB / 437.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.262, allocations: 188.2 kB / 437.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.762e-05/0.262, allocations: 176.5 kB / 437.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.853e-05/0.2621, allocations: 196.2 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.2623, allocations: 299.8 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.2623, allocations: 108.9 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.2624, allocations: 188.2 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.2625, allocations: 104.9 kB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.2626, allocations: 180.3 kB / 438.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.2627, allocations: 101 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.2627, allocations: 99.2 kB / 439 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2627, allocations: 0 / 439 MB, free: 14.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.263, allocations: 43.88 kB / 439 MB, free: 14.08 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.0007047/0.2637, allocations: 0.8611 MB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.288e-05/0.2638, allocations: 4 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2638, allocations: 0 / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.2638, allocations: 3.938 kB / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.2642, allocations: 463.8 kB / 440.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.2646, allocations: 205.8 kB / 440.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.2646, allocations: 63.28 kB / 440.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.2647, allocations: 15.97 kB / 440.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.2648, allocations: 11.44 kB / 440.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2648, allocations: 0 / 440.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.2955, allocations: 2.407 MB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.03, allocations: 4 kB / 443.1 MB, free: 10.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.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_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.362684509716928]