Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001905/0.001905, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002776/0.002776, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.477/1.477, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 67.88 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1159, allocations: 53.32 MB / 426.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005187/0.1211, allocations: 3.098 MB / 429.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1228, allocations: 0.8104 MB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.123, allocations: 4 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1232, allocations: 55.44 kB / 430.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1235, allocations: 119.1 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1238, allocations: 127.7 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.1243, allocations: 462.2 kB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1246, allocations: 94.94 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.222/0.3466, allocations: 185.2 kB / 431.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.3469, allocations: 180.5 kB / 431.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.347, allocations: 44.62 kB / 431.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.3471, allocations: 45.66 kB / 431.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.909e-05/0.3472, allocations: 97.73 kB / 432 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.3474, allocations: 188.4 kB / 432.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.348, allocations: 0.4988 MB / 432.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.348, allocations: 1.531 kB / 432.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.348, allocations: 0 / 432.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.348, allocations: 0 / 432.7 MB, free: 7.598 MB / 350.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.001287/0.3493, allocations: 0.72 MB / 433.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3493, allocations: 12.44 kB / 433.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.3494, allocations: 65.28 kB / 433.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.3495, allocations: 40.05 kB / 433.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.3499, allocations: 306.8 kB / 433.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3499, allocations: 23.62 kB / 433.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.35, allocations: 32.06 kB / 433.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.3506, allocations: 354.5 kB / 434.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3506, allocations: 4.125 kB / 434.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.3507, allocations: 15.97 kB / 434.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3507, allocations: 6.75 kB / 434.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.3514, allocations: 297.7 kB / 434.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.3534, allocations: 1.27 MB / 435.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.3542, allocations: 323.6 kB / 436.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.3546, allocations: 134.6 kB / 436.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3546, allocations: 2.156 kB / 436.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.3551, allocations: 199.9 kB / 436.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3551, allocations: 1.125 kB / 436.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002143/0.3572, allocations: 0.6404 MB / 437.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3573, allocations: 107.6 kB / 437.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3576, allocations: 300.5 kB / 437.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3576, allocations: 28.48 kB / 437.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3577, allocations: 207.9 kB / 437.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3578, allocations: 67.23 kB / 437.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.3579, allocations: 53.7 kB / 437.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.3579, allocations: 337.2 kB / 438.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.3583, allocations: 120 kB / 438.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.3587, allocations: 216 kB / 438.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.3593, allocations: 340.7 kB / 438.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3593, allocations: 0 / 438.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001195/0.3605, allocations: 484.3 kB / 439.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.3606, allocations: 40.78 kB / 439.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3606, allocations: 3.656 kB / 439.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.3609, allocations: 72.42 kB / 439.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.3612, allocations: 69.05 kB / 439.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.3631, allocations: 1.636 MB / 441.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3635, allocations: 60.88 kB / 441.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3635, allocations: 10.81 kB / 441.2 MB, free: 3.25 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.3637, allocations: 152.9 kB / 441.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3637, allocations: 29.19 kB / 441.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.3638, allocations: 32.73 kB / 441.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3638, allocations: 2.188 kB / 441.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3638, allocations: 4.875 kB / 441.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3638, allocations: 3.562 kB / 441.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3653, allocations: 0.7949 MB / 442.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3653, allocations: 1.125 kB / 442.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3655, allocations: 45.31 kB / 442.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.3657, allocations: 62.25 kB / 442.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3658, allocations: 8.359 kB / 442.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.3674, allocations: 1.629 MB / 443.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3674, allocations: 2.406 kB / 444 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3689, allocations: 0.5624 MB / 444.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.369, allocations: 111 kB / 444.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.369, allocations: 7.438 kB / 444.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3693, allocations: 33.98 kB / 444.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.3694, allocations: 23.25 kB / 444.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3694, allocations: 5.453 kB / 444.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.3696, allocations: 208.1 kB / 444.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3696, allocations: 0 / 444.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.37, allocations: 85.7 kB / 445 MB, free: 0.6133 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/0.3717, allocations: 1.104 MB / 446.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3728, allocations: 439.6 kB / 446.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3728, allocations: 5.719 kB / 446.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.3732, allocations: 240.8 kB / 446.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.3737, allocations: 57.17 kB / 446.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.3844, allocations: 3.657 MB / 450.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.385, allocations: 0.768 MB / 451.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.3852, allocations: 32.98 kB / 451.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3855, allocations: 90.55 kB / 451.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3855, allocations: 0 / 451.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.4428, allocations: 7.309 MB / 458.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.47, allocations: 5.953 kB / 458.7 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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: 14.983285334892571]