Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 9.004 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.92 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.09035, allocations: 50.53 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006392/0.09678, allocations: 5.786 MB / 363.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.09911, allocations: 1.192 MB / 364.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006474/0.09978, allocations: 16 kB / 364.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.1003, allocations: 131 kB / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.1011, allocations: 242 kB / 364.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1016, allocations: 183.8 kB / 365 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.1027, allocations: 1.017 MB / 366 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.1034, allocations: 464.5 kB / 366.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.1038, allocations: 382.6 kB / 366.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.1044, allocations: 457.9 kB / 367.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.1045, allocations: 72 kB / 367.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.1047, allocations: 76 kB / 367.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1049, allocations: 203.2 kB / 367.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.1054, allocations: 481.7 kB / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.1061, allocations: 0.8262 MB / 368.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1061, allocations: 3.938 kB / 368.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1061, allocations: 0 / 368.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.1061, allocations: 0 / 368.9 MB, free: 2.73 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002097/0.1082, allocations: 1.232 MB / 370.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1083, allocations: 8.031 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.1085, allocations: 103.7 kB / 370.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.109, allocations: 455.1 kB / 370.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.1091, allocations: 70.38 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1092, allocations: 92.38 kB / 370.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1501/0.2593, allocations: 0.873 MB / 371.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2594, allocations: 0 / 371.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.2594, allocations: 38.84 kB / 371.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.2595, allocations: 23.56 kB / 371.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.2606, allocations: 0.5702 MB / 372.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.2647, allocations: 2.963 MB / 375.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.2651, allocations: 291.3 kB / 375.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.2656, allocations: 275.7 kB / 375.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2656, allocations: 4.219 kB / 375.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2656, allocations: 42.53 kB / 375.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.2656, allocations: 0 / 375.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001378/0.267, allocations: 0.6582 MB / 376.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.267, allocations: 58.03 kB / 376.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005345/0.2676, allocations: 0.5098 MB / 377.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2676, allocations: 32.45 kB / 377.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.2678, allocations: 498 kB / 377.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.2679, allocations: 150.2 kB / 377.8 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.2681, allocations: 133.6 kB / 377.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.2682, allocations: 365.3 kB / 378.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2685, allocations: 171.1 kB / 378.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.2688, allocations: 452.9 kB / 378.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.2695, allocations: 0.6529 MB / 379.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2695, allocations: 2.406 kB / 379.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001103/0.2706, allocations: 0.7589 MB / 380.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2707, allocations: 8.875 kB / 380.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2707, allocations: 9.156 kB / 380.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.271, allocations: 88.38 kB / 380.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.2716, allocations: 199.9 kB / 380.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.273, allocations: 1.807 MB / 382.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.2734, allocations: 80.58 kB / 382.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.2735, allocations: 35.91 kB / 382.5 MB, free: 13.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002234/0.2737, allocations: 219.8 kB / 382.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.2738, allocations: 67.33 kB / 382.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.2739, allocations: 64.89 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2739, allocations: 11.83 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2739, allocations: 3.938 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2739, allocations: 4 kB / 382.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.2746, allocations: 0.6375 MB / 383.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2746, allocations: 1.062 kB / 383.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.275, allocations: 101.4 kB / 383.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.2753, allocations: 72.75 kB / 383.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2753, allocations: 6.391 kB / 383.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.2766, allocations: 1.791 MB / 385.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2766, allocations: 1.781 kB / 385.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.2774, allocations: 0.6633 MB / 386.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.2775, allocations: 139 kB / 386.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.2776, allocations: 12.03 kB / 386.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.278, allocations: 43.98 kB / 386.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.2781, allocations: 27.69 kB / 386.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.2781, allocations: 14.67 kB / 386.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.2785, allocations: 344.2 kB / 386.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2785, allocations: 288 / 386.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007641/0.2792, allocations: 252.3 kB / 387 MB, free: 10.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001257/0.2794, allocations: 113.5 kB / 387.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.2803, allocations: 0.5965 MB / 387.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2803, allocations: 1.125 kB / 387.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.2807, allocations: 316.8 kB / 388 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.2813, allocations: 110.3 kB / 388.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2833, allocations: 1.806 MB / 389.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2837, allocations: 0.9316 MB / 390.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2838, allocations: 43.38 kB / 390.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2838, allocations: 1.375 kB / 390.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01173/0.2956, allocations: 10.99 MB / 401.9 MB, free: 2.035 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches