Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001946/0.001946, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002467/0.002467, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 53.38 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004238/0.2678, allocations: 2.85 MB / 434.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2691, allocations: 0.6543 MB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2692, allocations: 4 kB / 435.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.2694, allocations: 51.5 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2696, allocations: 95.17 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2698, allocations: 75.91 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.2702, allocations: 350.9 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2705, allocations: 111.7 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2706, allocations: 135.5 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2709, allocations: 147.4 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.2709, allocations: 32 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.271, allocations: 35.94 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.271, allocations: 71.75 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2712, allocations: 155.3 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.2716, allocations: 359.3 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2716, allocations: 8 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2716, allocations: 4 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2716, allocations: 0 / 437 MB, free: 1.781 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.0009141/0.2725, allocations: 0.5287 MB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2726, allocations: 8.031 kB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.564e-05/0.2727, allocations: 62.72 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.2727, allocations: 36.75 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.273, allocations: 198.8 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2731, allocations: 21.03 kB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2731, allocations: 28.38 kB / 437.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.2736, allocations: 254.2 kB / 438.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2736, allocations: 4 kB / 438.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2736, allocations: 12 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2736, allocations: 4 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.274, allocations: 194.5 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.2756, allocations: 0.9676 MB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.276, allocations: 181.1 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.2762, allocations: 128.8 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2762, allocations: 0 / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2763, allocations: 34.56 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.2763, allocations: 0 / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001566/0.2778, allocations: 0.7063 MB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.2779, allocations: 55.41 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2781, allocations: 196.8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2781, allocations: 29.7 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2782, allocations: 172.5 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.2783, allocations: 91.23 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.2784, allocations: 45.98 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2786, allocations: 338.8 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2788, allocations: 72.53 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.2789, allocations: 103.6 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.2792, allocations: 182.2 kB / 441.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2792, allocations: 0 / 441.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000553/0.2798, allocations: 318.1 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2798, allocations: 4 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2798, allocations: 4 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.2801, allocations: 84.75 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.2803, allocations: 51.84 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.2826, allocations: 1.985 MB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2828, allocations: 11.97 kB / 444.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2828, allocations: 8 kB / 444.1 MB, free: 10.34 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.0001937/0.283, allocations: 137.8 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.283, allocations: 23.86 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.2831, allocations: 29.95 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2831, allocations: 8.062 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2831, allocations: 0 / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2831, allocations: 3.938 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2842, allocations: 0.705 MB / 445 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2842, allocations: 3.938 kB / 445 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.2844, allocations: 43.98 kB / 445 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.2846, allocations: 68.8 kB / 445.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2847, allocations: 8 kB / 445.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.2866, allocations: 1.883 MB / 447 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2866, allocations: 4.062 kB / 447 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.2873, allocations: 468.2 kB / 447.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.2873, allocations: 23.84 kB / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.2873, allocations: 4.062 kB / 447.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.2875, allocations: 16 kB / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.2876, allocations: 23.95 kB / 447.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2876, allocations: 4 kB / 447.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.2877, allocations: 147.2 kB / 447.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 447.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.2881, allocations: 76 kB / 447.8 MB, free: 6.488 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.001073/0.2892, allocations: 1.005 MB / 448.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007189/0.2899, allocations: 354.5 kB / 449.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2899, allocations: 0 / 449.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.2904, allocations: 254.5 kB / 449.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2907, allocations: 40.8 kB / 449.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.2946, allocations: 2.813 MB / 452.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.2951, allocations: 0.7712 MB / 453 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.2952, allocations: 18.3 kB / 453 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2953, allocations: 87.41 kB / 453.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2953, allocations: 0 / 453.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.3381, allocations: 5.983 MB / 459.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.67, allocations: 7.125 kB / 459.1 MB, free: 11.14 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.010527330450714] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C3.v', 'C5.v', 'L1.i', 'L2.i'] 10.751804702915251 10.776901888 10.500784161 Calling exit ...