Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001848/0.001848, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.001998/0.001998, allocations: 185 kB / 23.72 MB, free: 4.719 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.418/1.418, 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.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 39.94 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2795, allocations: 52.19 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004965/0.2845, allocations: 3.097 MB / 425.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2862, allocations: 0.787 MB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.2865, allocations: 4 kB / 426.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2867, allocations: 55.44 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.2871, allocations: 119 kB / 426.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2875, allocations: 131.8 kB / 426.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.2881, allocations: 458.3 kB / 427.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.2884, allocations: 103.5 kB / 427.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.2887, allocations: 187.3 kB / 427.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2891, allocations: 183.2 kB / 427.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/0.2892, allocations: 44 kB / 427.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.2893, allocations: 44 kB / 427.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.2893, allocations: 91.67 kB / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.2896, allocations: 195.1 kB / 428.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.2902, allocations: 0.4946 MB / 428.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.2902, allocations: 3.984 kB / 428.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2902, allocations: 0 / 428.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.2902, allocations: 0 / 428.6 MB, free: 8.621 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.001501/0.2917, allocations: 0.6394 MB / 429.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2918, allocations: 16.03 kB / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.2919, allocations: 62.72 kB / 429.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.292, allocations: 40.7 kB / 429.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.2924, allocations: 256.9 kB / 429.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2924, allocations: 24.97 kB / 429.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.2925, allocations: 28.12 kB / 429.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.2933, allocations: 353 kB / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2933, allocations: 0 / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.2933, allocations: 16 kB / 430 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2933, allocations: 8 kB / 430.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.2942, allocations: 306.4 kB / 430.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2967, allocations: 1.226 MB / 431.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.2975, allocations: 238.4 kB / 431.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.2979, allocations: 132.8 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2979, allocations: 0 / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.2985, allocations: 205.1 kB / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.2985, allocations: 0 / 432.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00215/0.3006, allocations: 0.5642 MB / 432.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.3007, allocations: 102.8 kB / 432.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.3011, allocations: 304.4 kB / 433.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3011, allocations: 29.7 kB / 433.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3013, allocations: 216.3 kB / 433.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.3013, allocations: 63.52 kB / 433.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.3014, allocations: 49.7 kB / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3016, allocations: 334.8 kB / 433.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.302, allocations: 120.2 kB / 433.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.3025, allocations: 221.3 kB / 434.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3033, allocations: 333.5 kB / 434.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3033, allocations: 0 / 434.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00133/0.3046, allocations: 493.5 kB / 434.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.3046, allocations: 33.7 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3046, allocations: 4 kB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.305, allocations: 68.88 kB / 435 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3053, allocations: 67.89 kB / 435.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.3076, allocations: 1.545 MB / 436.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.308, allocations: 59.81 kB / 436.7 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.308, allocations: 8 kB / 436.7 MB, free: 60 kB / 334.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.0002001/0.3082, allocations: 161.6 kB / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3083, allocations: 31.8 kB / 436.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.3083, allocations: 26.14 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3083, allocations: 4 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3083, allocations: 0 / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3083, allocations: 0 / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.31, allocations: 0.7643 MB / 437.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.31, allocations: 0 / 437.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3102, allocations: 43.95 kB / 437.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.3105, allocations: 60.86 kB / 437.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3105, allocations: 11.92 kB / 437.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.3126, allocations: 1.526 MB / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3126, allocations: 0 / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.3141, allocations: 0.5685 MB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.3142, allocations: 31.81 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3143, allocations: 4 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3146, allocations: 35.95 kB / 440 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.3146, allocations: 19.97 kB / 440 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3147, allocations: 4 kB / 440 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.3149, allocations: 211.1 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3149, allocations: 4.062 kB / 440.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.3153, allocations: 87.78 kB / 440.3 MB, free: 12.27 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.001853/0.3172, allocations: 1.115 MB / 441.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3183, allocations: 429.8 kB / 441.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3183, allocations: 0 / 441.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.3188, allocations: 239.2 kB / 442.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3192, allocations: 56.83 kB / 442.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.3269, allocations: 3.668 MB / 445.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3274, allocations: 0.7678 MB / 446.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.3275, allocations: 30.97 kB / 446.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3277, allocations: 91.41 kB / 446.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3277, allocations: 0 / 446.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/0.3709, allocations: 7.474 MB / 454.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.01, allocations: 0 / 454.1 MB, free: 14.33 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.351487471023574]