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.001298/0.001298, allocations: 114 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.001516/0.001516, allocations: 215.3 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.406/1.406, 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.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 75.88 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.273, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004189/0.2772, allocations: 2.855 MB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2783, allocations: 0.6544 MB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2784, allocations: 4 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.2786, allocations: 51.5 kB / 434.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2788, allocations: 91.19 kB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.279, allocations: 71.91 kB / 434.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.2794, allocations: 354.9 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2796, allocations: 111.8 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2797, allocations: 131.5 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.28, allocations: 151.3 kB / 435.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.28, allocations: 28 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.2801, allocations: 32 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.2801, allocations: 79.73 kB / 435.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.2803, allocations: 159.3 kB / 435.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.2807, allocations: 358.9 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2807, allocations: 0 / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2807, allocations: 0 / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.2807, allocations: 3.938 kB / 436.3 MB, free: 1.547 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.0009012/0.2816, allocations: 0.5248 MB / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2816, allocations: 8.031 kB / 436.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.2817, allocations: 70.72 kB / 436.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.2818, allocations: 32.75 kB / 436.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.2821, allocations: 202.8 kB / 437.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2821, allocations: 17.03 kB / 437.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.2822, allocations: 36.38 kB / 437.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.2826, allocations: 250.2 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2826, allocations: 0 / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.2827, allocations: 12 kB / 437.4 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2827, allocations: 8 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.283, allocations: 186.5 kB / 437.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.2846, allocations: 0.9793 MB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.2849, allocations: 162.6 kB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.2851, allocations: 131.6 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2851, allocations: 4 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2852, allocations: 38.56 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.2852, allocations: 0 / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001404/0.2866, allocations: 0.7004 MB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2866, allocations: 59.41 kB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2868, allocations: 187.2 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2868, allocations: 29.7 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.287, allocations: 180.5 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.287, allocations: 87.23 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.2871, allocations: 53.98 kB / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2873, allocations: 338.8 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2874, allocations: 68.53 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2876, allocations: 107.3 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.2879, allocations: 177.6 kB / 440.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2879, allocations: 0 / 440.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005558/0.2884, allocations: 318.1 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2884, allocations: 8 kB / 441.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2884, allocations: 0 / 441.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.2887, allocations: 84.75 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2889, allocations: 55.84 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.2912, allocations: 1.992 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2913, allocations: 7.938 kB / 443.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.2914, allocations: 12 kB / 443.4 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.0001474/0.2915, allocations: 141.8 kB / 443.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2916, allocations: 23.86 kB / 443.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.2916, allocations: 25.97 kB / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2916, allocations: 4 kB / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2916, allocations: 112 / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.2916, allocations: 15.86 kB / 443.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.2928, allocations: 0.7049 MB / 444.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2928, allocations: 0 / 444.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2929, allocations: 39.97 kB / 444.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.2931, allocations: 68.8 kB / 444.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2931, allocations: 4 kB / 444.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.295, allocations: 1.891 MB / 446.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.295, allocations: 4.031 kB / 446.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.2957, allocations: 463.8 kB / 446.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.2957, allocations: 23.92 kB / 446.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2957, allocations: 4 kB / 446.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2959, allocations: 15.98 kB / 446.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.296, allocations: 23.95 kB / 446.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.296, allocations: 4 kB / 446.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.2961, allocations: 143.1 kB / 446.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2961, allocations: 0 / 446.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.2965, allocations: 83.98 kB / 447 MB, free: 6.246 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.001052/0.2976, allocations: 0.9985 MB / 448 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006973/0.2983, allocations: 350.5 kB / 448.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2983, allocations: 0 / 448.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.2987, allocations: 254.4 kB / 448.6 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.0003358/0.299, allocations: 40.19 kB / 448.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3027, allocations: 2.824 MB / 451.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3031, allocations: 0.7673 MB / 452.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.3032, allocations: 26.27 kB / 452.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3033, allocations: 83.59 kB / 452.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3033, allocations: 0 / 452.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.3404, allocations: 6.033 MB / 458.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.6, allocations: 6.672 kB / 458.4 MB, free: 10.84 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.040374254109338]