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.001279/0.001279, allocations: 112 kB / 20.43 MB, free: 1.309 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.00133/0.00133, allocations: 189.3 kB / 23.72 MB, free: 4.559 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.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001668/0.001668, allocations: 51.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2599, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001643/0.2616, allocations: 0.5036 MB / 423.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2635, allocations: 1.399 MB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.2635, allocations: 0 / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.2635, allocations: 3.938 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.2635, allocations: 0 / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.2642, allocations: 178.6 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.2642, allocations: 12 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.2643, allocations: 8 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.2643, allocations: 15.91 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.2644, allocations: 11.94 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2644, allocations: 0 / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.2647, allocations: 163.8 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2647, allocations: 4 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2647, allocations: 11.91 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.2649, allocations: 116.1 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2649, allocations: 7.938 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2649, allocations: 4 kB / 425.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2649, allocations: 0 / 425.1 MB, free: 12.15 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.0003696/0.2653, allocations: 266.2 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2654, allocations: 12.03 kB / 425.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.2654, allocations: 34.75 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.2654, allocations: 4.891 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2655, allocations: 114.5 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2656, allocations: 384 / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2656, allocations: 3.938 kB / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2657, allocations: 33.7 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2657, allocations: 0 / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2657, allocations: 0 / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2657, allocations: 0 / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.2657, allocations: 7.938 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2662, allocations: 371 kB / 425.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2663, allocations: 169.2 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.2663, allocations: 84.14 kB / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.2663, allocations: 79.28 kB / 426.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.2664, allocations: 105.8 kB / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2664, allocations: 0 / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.2665, allocations: 29.64 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.2666, allocations: 164.4 kB / 426.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2667, allocations: 109.8 kB / 426.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2667, allocations: 25.7 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.2668, allocations: 88.09 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-06/0.2668, allocations: 7.984 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2668, allocations: 17.66 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.267, allocations: 314.8 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.267, allocations: 0 / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.267, allocations: 11.98 kB / 427.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.267, allocations: 16.8 kB / 427.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.267, allocations: 0 / 427.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.2671, allocations: 33.7 kB / 427.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2671, allocations: 4 kB / 427.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2672, allocations: 0 / 427.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.2672, allocations: 3.984 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.976e-05/0.2672, allocations: 4 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.2672, allocations: 4.062 kB / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.2673, allocations: 4 kB / 427.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2673, allocations: 3.984 kB / 427.1 MB, free: 9.863 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.2674, allocations: 189.1 kB / 427.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.2675, allocations: 112.9 kB / 427.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.2675, allocations: 108.5 kB / 427.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-05/0.2676, allocations: 176.3 kB / 427.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.355e-05/0.2677, allocations: 188.2 kB / 427.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-05/0.2678, allocations: 176.3 kB / 428.1 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.2681, allocations: 384.2 kB / 428.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/0.2681, allocations: 105 kB / 428.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.2682, allocations: 101 kB / 428.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.2683, allocations: 184.2 kB / 428.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/0.2684, allocations: 180.3 kB / 429 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-05/0.2685, allocations: 188.2 kB / 429.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.476e-05/0.2685, allocations: 176.5 kB / 429.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.2687, allocations: 319.7 kB / 429.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2688, allocations: 105 kB / 429.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.2689, allocations: 184.2 kB / 429.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.269, allocations: 101.2 kB / 430 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.2691, allocations: 180.2 kB / 430.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.2691, allocations: 109 kB / 430.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.2692, allocations: 95.27 kB / 430.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2692, allocations: 0 / 430.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.2695, allocations: 43.81 kB / 430.5 MB, free: 6.328 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.0007816/0.2703, allocations: 0.8829 MB / 431.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.2703, allocations: 4 kB / 431.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2704, allocations: 0 / 431.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2704, allocations: 0 / 431.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.2707, allocations: 459.8 kB / 431.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.2711, allocations: 209.8 kB / 432 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2715, allocations: 0.6805 MB / 432.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2716, allocations: 7.984 kB / 432.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2716, allocations: 15.44 kB / 432.7 MB, free: 4 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2716, allocations: 0 / 432.7 MB, free: 4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.3003, allocations: 1.92 MB / 434.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.68, allocations: 4.062 kB / 434.6 MB, free: 2.215 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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: 12.904270155122504]