Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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 4.1.0-beta.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB 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.00197/0.00197, allocations: 64.28 kB / 307.9 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1007, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004289/0.1051, allocations: 2.716 MB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1064, allocations: 0.7207 MB / 361.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1066, allocations: 7.938 kB / 361.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1067, allocations: 47.56 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1069, allocations: 71.28 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1072, allocations: 115.8 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.1076, allocations: 350.6 kB / 362.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1078, allocations: 92.69 kB / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1081, allocations: 147.5 kB / 362.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1083, allocations: 163.3 kB / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.1083, allocations: 28 kB / 362.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.1084, allocations: 43.92 kB / 362.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.1085, allocations: 67.81 kB / 363 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1087, allocations: 151.2 kB / 363.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.109, allocations: 351.1 kB / 363.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1091, allocations: 0 / 363.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1091, allocations: 0 / 363.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1091, allocations: 0 / 363.5 MB, free: 8.898 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001491/0.1106, allocations: 0.6392 MB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1106, allocations: 12.03 kB / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.1108, allocations: 36.64 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1111, allocations: 260.7 kB / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1112, allocations: 16.81 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.1112, allocations: 16.38 kB / 364.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.1119, allocations: 306.9 kB / 364.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1119, allocations: 0 / 364.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.112, allocations: 8 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.112, allocations: 4 kB / 364.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.1128, allocations: 273.5 kB / 365 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1146, allocations: 1.066 MB / 366.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.1166, allocations: 438.3 kB / 366.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.117, allocations: 148.5 kB / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.117, allocations: 0 / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1171, allocations: 38.56 kB / 366.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1171, allocations: 0 / 366.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005059/0.1222, allocations: 1.03 MB / 367.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1222, allocations: 51.41 kB / 367.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1225, allocations: 221 kB / 368 MB, free: 4.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1225, allocations: 29.7 kB / 368 MB, free: 4.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1227, allocations: 160 kB / 368.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1227, allocations: 43.36 kB / 368.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-05/0.1228, allocations: 37.69 kB / 368.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.123, allocations: 330.8 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.1234, allocations: 107.9 kB / 368.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1237, allocations: 131.7 kB / 368.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.1244, allocations: 231.8 kB / 369 MB, free: 3.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1245, allocations: 0 / 369 MB, free: 3.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002979/0.1274, allocations: 0.6422 MB / 369.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1275, allocations: 4 kB / 369.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1275, allocations: 0 / 369.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/0.1283, allocations: 220.6 kB / 369.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1284, allocations: 31.92 kB / 369.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/0.2833, allocations: 2.744 MB / 372.7 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.2836, allocations: 38.14 kB / 372.7 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2836, allocations: 10.11 kB / 372.7 MB, free: 18.89 MB / 302.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.2838, allocations: 133.2 kB / 372.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2838, allocations: 22.09 kB / 372.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.2839, allocations: 23.08 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2839, allocations: 5.719 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2839, allocations: 1.062 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2839, allocations: 0.7969 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.2842, allocations: 323.8 kB / 373.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2843, allocations: 0.7812 kB / 373.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2844, allocations: 28.14 kB / 373.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/0.2851, allocations: 222.9 kB / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2852, allocations: 10.78 kB / 373.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.2915, allocations: 2.737 MB / 376.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2915, allocations: 5.312 kB / 376.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.2946, allocations: 0.8378 MB / 377.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.2947, allocations: 95.64 kB / 377.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.2948, allocations: 9.969 kB / 377.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.2951, allocations: 31.64 kB / 377.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.2951, allocations: 19.45 kB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.2951, allocations: 7.5 kB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2953, allocations: 160.5 kB / 377.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2953, allocations: 0 / 377.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.2958, allocations: 80.66 kB / 377.4 MB, free: 16.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.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 (12): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.2959, allocations: 101.9 kB / 377.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.2976, allocations: 450.5 kB / 378 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2976, allocations: 2.562 kB / 378 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2986, allocations: 328.6 kB / 378.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.299, allocations: 37.94 kB / 378.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3004, allocations: 0.5866 MB / 378.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3006, allocations: 0.7457 MB / 379.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3006, allocations: 16.58 kB / 379.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3006, allocations: 0 / 379.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of Templates: time 0.006449/0.3071, allocations: 4.119 MB / 383.8 MB, free: 14.94 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches