Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001301/0.001301, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001376/0.001376, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.91 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2583, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004423/0.2627, allocations: 3.138 MB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.264, allocations: 0.7676 MB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2641, allocations: 11.94 kB / 435.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2643, allocations: 55.44 kB / 435.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2645, allocations: 119 kB / 435.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2648, allocations: 123.7 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.2653, allocations: 450.2 kB / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.2655, allocations: 103.5 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.2658, allocations: 183.3 kB / 436.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.266, allocations: 195.2 kB / 436.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2661, allocations: 44 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.2661, allocations: 44 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.2662, allocations: 87.69 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2664, allocations: 203 kB / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.2669, allocations: 0.4907 MB / 437.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2669, allocations: 4 kB / 437.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2669, allocations: 0 / 437.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.267, allocations: 0 / 437.2 MB, free: 0.668 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001205/0.2682, allocations: 0.6354 MB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2682, allocations: 12.03 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.2683, allocations: 62.67 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.2683, allocations: 48.66 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.2688, allocations: 256.9 kB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2688, allocations: 21.03 kB / 438.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.2688, allocations: 40.12 kB / 438.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.2695, allocations: 310 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2695, allocations: 0 / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2695, allocations: 12 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2695, allocations: 8 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.2702, allocations: 274.5 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2723, allocations: 1.181 MB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.2728, allocations: 202.3 kB / 440.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.2731, allocations: 104.8 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.2731, allocations: 4 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.2735, allocations: 194.2 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.2735, allocations: 4 kB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001572/0.2751, allocations: 460.2 kB / 441 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.2752, allocations: 132.5 kB / 441.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.2755, allocations: 308.1 kB / 441.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.2755, allocations: 29.7 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2757, allocations: 208.4 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.2758, allocations: 59.53 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2759, allocations: 57.66 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.276, allocations: 342.8 kB / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2763, allocations: 100.2 kB / 442.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.2766, allocations: 201 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.2772, allocations: 305.8 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2772, allocations: 0 / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009591/0.2782, allocations: 427.4 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.2782, allocations: 38.02 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.2783, allocations: 4 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.2786, allocations: 76.78 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2788, allocations: 55.89 kB / 443.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.2809, allocations: 1.703 MB / 445 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.2812, allocations: 55.7 kB / 445 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2812, allocations: 16.06 kB / 445.1 MB, free: 8.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.2814, allocations: 157.1 kB / 445.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.2814, allocations: 27.8 kB / 445.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.2815, allocations: 34.14 kB / 445.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2815, allocations: 4 kB / 445.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2815, allocations: 0 / 445.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2815, allocations: 0 / 445.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.2818, allocations: 324.3 kB / 445.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2818, allocations: 4 kB / 445.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.282, allocations: 31.97 kB / 445.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.2823, allocations: 72.78 kB / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2823, allocations: 8 kB / 445.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.2842, allocations: 1.711 MB / 447.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2842, allocations: 3.938 kB / 447.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.2853, allocations: 435.9 kB / 447.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.2853, allocations: 27.88 kB / 447.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2854, allocations: 8 kB / 447.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.2856, allocations: 36.02 kB / 447.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.2857, allocations: 23.95 kB / 447.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2857, allocations: 8 kB / 447.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.2859, allocations: 207.1 kB / 448.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2859, allocations: 0 / 448.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000364/0.2863, allocations: 99.78 kB / 448.2 MB, free: 4.945 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: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.2877, allocations: 0.9786 MB / 449.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008789/0.2886, allocations: 421.1 kB / 449.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2886, allocations: 12 kB / 449.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.2891, allocations: 242.5 kB / 449.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2894, allocations: 59.86 kB / 449.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.295, allocations: 3.305 MB / 453.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.2954, allocations: 0.7717 MB / 454 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.2956, allocations: 34.94 kB / 454 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.2957, allocations: 99.34 kB / 454.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2957, allocations: 0 / 454.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.336, allocations: 7.925 MB / 462.1 MB, free: 7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.77, allocations: 6.922 kB / 462.1 MB, free: 6.996 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.135538711212575]