Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 207.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 47.92 kB / 377.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2519, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004673/0.2566, allocations: 2.885 MB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2582, allocations: 0.7638 MB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.2584, allocations: 7.938 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.2585, allocations: 51.5 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.2588, allocations: 119 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.2591, allocations: 127.8 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.2596, allocations: 458.2 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2598, allocations: 101.1 kB / 435.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.2601, allocations: 191.3 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2604, allocations: 183.2 kB / 436 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.2605, allocations: 47.98 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.2605, allocations: 44 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2606, allocations: 95.62 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2608, allocations: 155.3 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.2613, allocations: 0.4942 MB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2613, allocations: 0 / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2613, allocations: 0 / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2613, allocations: 0 / 436.8 MB, free: 0.9062 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001354/0.2627, allocations: 0.6355 MB / 437.4 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2627, allocations: 8.031 kB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.2628, allocations: 66.72 kB / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.2629, allocations: 44.7 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.2633, allocations: 256.9 kB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.2634, allocations: 17.03 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.2634, allocations: 36.06 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.2642, allocations: 404.4 kB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2642, allocations: 4 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.2643, allocations: 12 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2643, allocations: 8 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.2651, allocations: 306.4 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.2674, allocations: 1.147 MB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.2681, allocations: 218.4 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.2685, allocations: 109 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2685, allocations: 0 / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005557/0.2691, allocations: 245.2 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.2691, allocations: 0 / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002379/0.2714, allocations: 0.6094 MB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.2715, allocations: 106.8 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.2719, allocations: 312 kB / 441.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2719, allocations: 25.7 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.2721, allocations: 216 kB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.2722, allocations: 59.52 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.2723, allocations: 53.66 kB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2724, allocations: 338.8 kB / 442 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.2728, allocations: 141.6 kB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.2733, allocations: 285.8 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.2741, allocations: 330.3 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2741, allocations: 4 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001344/0.2754, allocations: 0.5092 MB / 443.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.2755, allocations: 33.7 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2755, allocations: 4 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.2758, allocations: 84.73 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2761, allocations: 56.02 kB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.2789, allocations: 1.886 MB / 445.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.2792, allocations: 59.81 kB / 445.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2793, allocations: 12 kB / 445.4 MB, free: 7.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.2794, allocations: 153.7 kB / 445.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.2795, allocations: 27.86 kB / 445.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.2795, allocations: 29.73 kB / 445.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2795, allocations: 4 kB / 445.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2795, allocations: 4 kB / 445.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2795, allocations: 0 / 445.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.2799, allocations: 276.5 kB / 445.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2799, allocations: 0 / 445.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2801, allocations: 35.97 kB / 445.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.2804, allocations: 80.8 kB / 446 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2804, allocations: 3.938 kB / 446 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.2827, allocations: 1.694 MB / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2827, allocations: 0 / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.2842, allocations: 0.4926 MB / 448.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.2842, allocations: 31.81 kB / 448.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.2843, allocations: 3.938 kB / 448.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.2845, allocations: 40.02 kB / 448.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2846, allocations: 19.97 kB / 448.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2846, allocations: 4 kB / 448.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.2849, allocations: 207.1 kB / 448.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2849, allocations: 3.938 kB / 448.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.2853, allocations: 91.84 kB / 448.5 MB, free: 4.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/0.2871, allocations: 1.035 MB / 449.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2882, allocations: 466.2 kB / 450 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2882, allocations: 0 / 450 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.2888, allocations: 254 kB / 450.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2891, allocations: 58.75 kB / 450.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.295, allocations: 3.426 MB / 453.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.2952, allocations: 159.8 kB / 453.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.2953, allocations: 26.92 kB / 453.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.2954, allocations: 87.41 kB / 454 MB, free: 14.66 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2954, allocations: 0 / 454 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.3381, allocations: 8.173 MB / 462.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.82, allocations: 0 / 462.2 MB, free: 6.676 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 15.189424306008732]