Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001349/0.001349, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001526/0.001526, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 378.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3712, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004771/0.376, allocations: 2.855 MB / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3773, allocations: 0.6621 MB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3774, allocations: 4 kB / 435.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.3776, allocations: 47.5 kB / 435.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3778, allocations: 99.17 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.378, allocations: 71.91 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.3784, allocations: 346.9 kB / 436.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.3787, allocations: 111.8 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3788, allocations: 135.6 kB / 436.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.3791, allocations: 151.3 kB / 436.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.3791, allocations: 32 kB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.3792, allocations: 35.94 kB / 436.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.3793, allocations: 63.83 kB / 436.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.3794, allocations: 163.2 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.3799, allocations: 362.9 kB / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3799, allocations: 0 / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3799, allocations: 0 / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3799, allocations: 4 kB / 437.1 MB, free: 1.559 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001029/0.381, allocations: 0.5248 MB / 437.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.381, allocations: 8.031 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.381, allocations: 8.844 kB / 437.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.91e-05/0.3811, allocations: 66.72 kB / 437.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.3812, allocations: 40.75 kB / 437.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3816, allocations: 198.8 kB / 437.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3816, allocations: 21.03 kB / 437.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.3816, allocations: 28.38 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.3821, allocations: 254 kB / 438.2 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3821, allocations: 0 / 438.2 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3821, allocations: 12 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3822, allocations: 8 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.3825, allocations: 190.5 kB / 438.4 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3841, allocations: 0.9715 MB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.3845, allocations: 169.1 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3847, allocations: 140.2 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3847, allocations: 0 / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3847, allocations: 38.94 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.3847, allocations: 0 / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001463/0.3862, allocations: 0.6967 MB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3863, allocations: 51.41 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3865, allocations: 191.2 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3865, allocations: 33.7 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3866, allocations: 180.5 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.3867, allocations: 91.23 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.3868, allocations: 49.98 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3869, allocations: 334.8 kB / 441.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3871, allocations: 72.53 kB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3872, allocations: 103.9 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3875, allocations: 177.6 kB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3875, allocations: 0 / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005748/0.3881, allocations: 318.1 kB / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3881, allocations: 4 kB / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3881, allocations: 0 / 442 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.3884, allocations: 96.72 kB / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3886, allocations: 43.97 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.3907, allocations: 1.988 MB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3909, allocations: 12.09 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3909, allocations: 8 kB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.391, allocations: 141.7 kB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3911, allocations: 23.86 kB / 444.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.3911, allocations: 29.95 kB / 444.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3911, allocations: 96 / 444.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3911, allocations: 11.88 kB / 444.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3911, allocations: 112 / 444.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3922, allocations: 0.7166 MB / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3922, allocations: 0 / 445.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3924, allocations: 35.92 kB / 445.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.3926, allocations: 72.8 kB / 445.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3926, allocations: 8 kB / 445.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.3944, allocations: 1.879 MB / 447.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3944, allocations: 0 / 447.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.3951, allocations: 467.9 kB / 447.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3951, allocations: 19.84 kB / 447.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3952, allocations: 8.062 kB / 447.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3953, allocations: 12.28 kB / 447.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.3954, allocations: 19.95 kB / 447.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3954, allocations: 11.98 kB / 447.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3955, allocations: 151 kB / 447.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 447.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.3959, allocations: 76 kB / 447.8 MB, free: 6.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009939/0.3969, allocations: 0.9946 MB / 448.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.3976, allocations: 354.4 kB / 449.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3976, allocations: 4.062 kB / 449.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.398, allocations: 258.5 kB / 449.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3984, allocations: 42.92 kB / 449.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.402, allocations: 2.822 MB / 452.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.4025, allocations: 0.7673 MB / 453 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.4026, allocations: 18.3 kB / 453.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4027, allocations: 83.41 kB / 453.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4027, allocations: 0 / 453.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.4427, allocations: 6.073 MB / 459.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.82, allocations: 7.5 kB / 459.2 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.592506677028723]